@@ -12,12 +12,14 @@ use reshape::{
12use serde::{Deserialize, Serialize};
12use serde::{Deserialize, Serialize};
14#[derive(Parser)]
14#[derive(Parser)]
15+#[clap(name = "Reshape", version, about)]
15struct Opts {
16struct Opts {
16 #[clap(subcommand)]
17 #[clap(subcommand)]
17 cmd: Command,
18 cmd: Command,
20#[derive(Parser)]
21#[derive(Parser)]
21enum Command {
23enum Command {
22 Migrate(MigrateOptions),
24 Migrate(MigrateOptions),
23 Complete(ConnectionOptions),
25 Complete(ConnectionOptions),
@@ -28,6 +30,7 @@ enum Command {
29#[derive(Args)]
31#[derive(Args)]
30struct MigrateOptions {
32struct MigrateOptions {
31 #[clap(long, short)]
34 #[clap(long, short)]
32 complete: bool,
35 complete: bool,
33 #[clap(flatten)]
36 #[clap(flatten)]