| 13 | long_about = "A powerful static analysis tool for detecting security vulnerabilities and code quality issues in Solana/Anchor smart contracts written in Rust." |
| 14 | )] |
| 15 | struct Cli { |
| 16 | #[command(subcommand)] |
| 17 | command: Commands, |
| 18 | |
| 19 | /// Disable colored output |
| 20 | #[arg(long, global = true)] |
| 21 | no_color: bool, |
| 22 | |
| 23 | /// Enable verbose output |
| 24 | #[arg(short, long, global = true)] |
| 25 | verbose: bool, |
| 26 | |
| 27 | /// Quiet mode (errors only) |
| 28 | #[arg(short, long, global = true)] |
| 29 | quiet: bool, |
| 30 | } |
| 31 | |
| 32 | #[derive(Subcommand)] |
| 33 | enum Commands { |
nothing calls this directly
no outgoing calls
no test coverage detected