summaryrefslogtreecommitdiff
path: root/libc/.cirrus.yml
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-18 00:39:24 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-23 12:04:57 -0800
commit048c97adcedab552e8c5b33567a06de4cb5c0f81 (patch)
tree8271dde240632509260c074dd3ae9554b3dda442 /libc/.cirrus.yml
parent32126d545532971302c0a8d512b5a8ec8226ed33 (diff)
downloadnitrocli-048c97adcedab552e8c5b33567a06de4cb5c0f81.tar.gz
nitrocli-048c97adcedab552e8c5b33567a06de4cb5c0f81.tar.bz2
Port argument handling to argparse
This patch replaces the macro for argument parsing with `argparse::ArgumentParser` from the argparse crate. It moves the application logic to the `commands` module and the argument parsing to the `options` module. An enum is used to represent the available commands. The code is based on the `subcommands.rs` example shipped with argparse.
Diffstat (limited to 'libc/.cirrus.yml')
0 files changed, 0 insertions, 0 deletions