summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2019-04-03 20:44:12 +0200
committerCanop <cano.petrole@gmail.com>2019-04-03 20:44:12 +0200
commit9036176847606c794d6e6db210a67851f7a616c4 (patch)
tree7f41644a28de226c42ae42783948b4db7c322f37 /src/main.rs
parent3f09877a70841099775c2dd87959ec5231a2970e (diff)
try to give arguments to verbs executed through --cmd
Parsing the --cmd argument is now done using the matching verb, and tries to give as many token as allowed by the execution pattern of the verb. If the --cmd argument seems non consistent, an error is thrown and nothing is executed Fix #49
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 9e9963c..480a9a4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -12,6 +12,7 @@ mod browser_states;
mod browser_verbs;
mod cli;
mod commands;
+mod command_parsing;
mod conf;
mod errors;
mod external;