Skip to content

Commit

Permalink
Add commands cookbook to cargo-shuttle --help (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
beyarkay authored Jun 19, 2023
1 parent b69e7ef commit 1b47611
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cargo-shuttle/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use crate::init::Template;
#[derive(Parser)]
#[command(
version,
about,
// Cargo passes in the subcommand name to the invoked executable. Use a
// hidden, optional positional argument to deal with it.
arg(clap::Arg::new("dummy")
Expand Down Expand Up @@ -85,6 +84,10 @@ impl ProjectArgs {
}
}

/// A cargo command for the shuttle platform (https://www.shuttle.rs/)
///
/// See the CLI docs (https://docs.shuttle.rs/introduction/shuttle-commands)
/// for more information.
#[derive(Parser)]
pub enum Command {
/// Create a new shuttle project
Expand Down

0 comments on commit 1b47611

Please sign in to comment.