use anyhow::Result;
use clap::Subcommand;
#[derive(Subcommand)]
pub enum ScopeCommands {
Create {
name: String,
#[arg(long)]
parent: Option<String>,
},
List,
Show {
name: String,
},
Destroy {
name: String,
#[arg(short, long)]
yes: bool,
},
Token {
name: String,
#[arg(long, value_parser = ["read", "write", "admin"], default_value = "read")]
permission: String,
#[arg(long)]
expires: Option<String>,
},
}
pub async fn run(_command: ScopeCommands, _api_url: &str, _json: bool) -> Result<()> {
anyhow::bail!("scope commands not yet implemented (Phase Meridian Step d)")
}