| |
|
| |
#[derive(Debug, Parser)]
|
| |
#[group(multiple = false)]
|
| - |
pub(crate) struct Target {
|
| - |
/// Return the repository identifier (RID)
|
| + |
pub(crate) struct TargetArgs {
|
| + |
/// Inspect the repository's delegates
|
| |
#[arg(long)]
|
| - |
pub(crate) rid: bool,
|
| + |
pub(crate) delegates: bool,
|
| + |
|
| + |
/// Show the history of the repository identity document
|
| + |
#[arg(long)]
|
| + |
pub(crate) history: bool,
|
| + |
|
| + |
/// Inspect the identity document
|
| + |
#[arg(long)]
|
| + |
pub(crate) identity: bool,
|
| |
|
| |
/// Inspect the repository's identity payload
|
| |
#[arg(long)]
|
| |
pub(crate) payload: bool,
|
| |
|
| + |
/// Inspect the repository's seeding policy
|
| + |
#[arg(long)]
|
| + |
pub(crate) policy: bool,
|
| + |
|
| |
/// Inspect the repository's refs on the local device
|
| |
#[arg(long)]
|
| |
pub(crate) refs: bool,
|
| |
|
| - |
/// Inspect the values of `rad/sigrefs` for all remotes of this repository
|
| + |
/// Return the repository identifier (RID)
|
| |
#[arg(long)]
|
| - |
pub(crate) sigrefs: bool,
|
| + |
pub(crate) rid: bool,
|
| |
|
| - |
/// Inspect the identity document
|
| + |
/// Inspect the values of `rad/sigrefs` for all remotes of this repository
|
| |
#[arg(long)]
|
| - |
pub(crate) identity: bool,
|
| + |
pub(crate) sigrefs: bool,
|
| |
|
| |
/// Inspect the repository's visibility
|
| |
#[arg(long)]
|
| |
pub(crate) visibility: bool,
|
| + |
}
|
| |
|
| - |
/// Inspect the repository's delegates
|
| - |
#[arg(long)]
|
| - |
pub(crate) delegates: bool,
|
| |
|
| |
/// Inspect the repository's seeding policy
|
| |
#[arg(long)]
|