Skip to content

Commit a762d6a

Browse files
authored
Merge pull request #346 from redbadger/remove-doctor
2 parents 7e5596c + 0deafe9 commit a762d6a

File tree

104 files changed

+2
-5086
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2
-5086
lines changed

crux_cli/src/args.rs

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::path::PathBuf;
22

3-
use clap::{ArgAction, Args, Parser, Subcommand, ValueHint::DirPath};
3+
use clap::{Args, Parser, Subcommand, ValueHint::DirPath};
44
use heck::{ToPascalCase, ToSnakeCase};
55

66
#[derive(Parser)]
@@ -17,36 +17,14 @@ use heck::{ToPascalCase, ToSnakeCase};
1717
pub struct Cli {
1818
#[command(subcommand)]
1919
pub command: Commands,
20-
21-
#[arg(long, short, action = ArgAction::Count)]
22-
pub verbose: u8,
2320
}
2421

2522
#[derive(Subcommand)]
2623
pub enum Commands {
27-
#[command(visible_alias = "doc")]
28-
Doctor(DoctorArgs),
29-
3024
#[command(visible_alias = "gen")]
3125
Codegen(CodegenArgs),
3226
}
3327

34-
#[derive(Args)]
35-
pub struct DoctorArgs {
36-
#[arg(long, short)]
37-
pub fix: Option<PathBuf>,
38-
39-
#[arg(long, short, default_value = "false")]
40-
pub include_source_code: bool,
41-
42-
/// temporary
43-
#[arg(long, short)]
44-
pub template_dir: PathBuf,
45-
46-
#[arg(long, short)]
47-
pub path: Option<PathBuf>,
48-
}
49-
5028
#[derive(Args)]
5129
pub struct CodegenArgs {
5230
/// name of the library containing your Crux App

crux_cli/src/config.rs

Lines changed: 0 additions & 31 deletions
This file was deleted.

crux_cli/src/diff.rs

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)