| 307 | |
| 308 | #[derive(Subcommand)] |
| 309 | enum AuthCommands { |
| 310 | #[command( |
| 311 | about = "List supported auth providers and current environment status", |
| 312 | alias = "ls" |
| 313 | )] |
| 314 | List, |
| 315 | #[command(about = "Set credential for current process (non-persistent)")] |
| 316 | Login { |
| 317 | #[arg(value_name = "PROVIDER_OR_URL")] |
| 318 | provider: Option<String>, |
| 319 | #[arg(long)] |
| 320 | token: Option<String>, |
| 321 | }, |
| 322 | #[command(about = "Clear credential from current process")] |
| 323 | Logout { |
| 324 | #[arg(value_name = "PROVIDER")] |
| 325 | provider: Option<String>, |
| 326 | }, |
| 327 | } |
| 328 | |
| 329 | #[derive(Subcommand)] |
| 330 | enum AgentCommands { |
nothing calls this directly
no outgoing calls
no test coverage detected