diff options
author | Daniel Mueller <deso@posteo.net> | 2020-04-01 22:59:22 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-04-01 22:59:22 -0700 |
commit | a3f8ae474d153048c5a9252125099ef49cc6b5f4 (patch) | |
tree | 106663b08f026cd873f0b6168a1d108925ab8e24 /src/main.rs | |
parent | 550a730cb7ab9c9e3963ba46ac7cad93535f13d5 (diff) | |
download | nitrocli-a3f8ae474d153048c5a9252125099ef49cc6b5f4.tar.gz nitrocli-a3f8ae474d153048c5a9252125099ef49cc6b5f4.tar.bz2 |
Factor out arg_defs.rs for argument parsing related types
This change marks the first step in a restructuring of the argument
handling code, the ultimate goal of which is a separation of the type
definitions as used by structopt from the logic associated with it. This
change in particular introduces a new module, arg_defs, that contains
all those type definitions that previously resided in the args module.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index e42bf4d..89c9d67 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,6 +68,7 @@ mod redefine; #[macro_use] mod arg_util; +mod arg_defs; mod args; mod commands; mod error; |