Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge remaining bits of args.rs into main.rs | Daniel Mueller | 2020-04-11 |
| | | | | | | This change removes the args module by moving all remaining functionality in it into main.rs. The result is arguably a nice consolidation of all context related definitions in a single module. | ||
* | Add unit tests for the list command | Robin Krahl | 2020-01-14 |
| | |||
* | Replace argparse with structopt | Robin Krahl | 2020-01-07 |
| | | | | | | | | | | | | This patch changes the argument handling code to use structopt instead of argparse using the data structures we introduced in the last patch. As part of that transition we replace the old Error::ArgparseError variant with ClapError that stores a structopt::clap::Error. Because of that replacement, the format of the help messages changed, breaking some of the tests. Hence, this change adapts them accordingly. Also clap currently prints the version output to stdout, so we ignore the version_option test case for now. | ||
* | Move nitrocli source code into repository root | Daniel Mueller | 2020-04-04 |
Now that all vendored dependencies have been removed, this change moves the program's source code from the nitrocli/ directory into the root of the repository. |