getargs-derive 0.1.0

Clap-style #[derive] command-line argument parser for no_std and embedded Rust: zero allocation, compile-time help, subcommands. Built on getargs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0080]: evaluation panicked: global option `-v` of field `verbose` is also used by a subcommand
  --> tests/ui/subcommand_global.rs:14:5
   |
14 |     verbose: bool,
   |     ^^^^^^^ evaluation of `_` failed here

error[E0080]: evaluation panicked: global option `--verbose` of field `verbose` is also used by a subcommand
  --> tests/ui/subcommand_global.rs:14:5
   |
14 |     verbose: bool,
   |     ^^^^^^^ evaluation of `_` failed here

error[E0080]: evaluation panicked: flattened field `inner` has a `#[command(subcommand)]` field, which cannot be flattened
  --> tests/ui/subcommand_global.rs:29:15
   |
29 |     #[command(flatten)]
   |               ^^^^^^^ evaluation of `_` failed here