Skip to content

Commit

Permalink
carlo: implied command dependencies
Browse files Browse the repository at this point in the history
Given build options (cargo workspace options, e.g. `-p my_crate`), the
`upload` command will build before uploading, and given build or upload
options `create` will build or upload before creating a machine.

These primary options are mutually exclusive, but may require nested
ArgGroups in the future which are supposed to be supported, perhaps
aided by clap-rs/clap#2621 if resolved. The current constraints and
reuse of shared options is rather crude (see in particular
UploadOptsWrapper).
  • Loading branch information
nothingmuch committed Jun 2, 2023
1 parent c94e4b7 commit 1b2976b
Showing 1 changed file with 244 additions and 138 deletions.

0 comments on commit 1b2976b

Please sign in to comment.