mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
feat(cli): add ls alias for list subcommands
Adds `#[command(alias = "ls")]` to workflow, pr, and artifact list subcommands for consistency with secret list which already had it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3be7916fbc
commit
bf9f4f9353
1 changed files with 3 additions and 0 deletions
|
|
@ -1130,6 +1130,7 @@ pub(crate) enum PrCommand {
|
|||
/// Create a pull request from a completed run
|
||||
Create(PrCreateArgs),
|
||||
/// List pull requests from workflow runs
|
||||
#[command(alias = "ls")]
|
||||
List(PrListArgs),
|
||||
/// View pull request details
|
||||
View(PrViewArgs),
|
||||
|
|
@ -1148,6 +1149,7 @@ pub(crate) struct ArtifactNamespace {
|
|||
#[derive(Subcommand)]
|
||||
pub(crate) enum ArtifactCommand {
|
||||
/// List artifacts for a workflow run
|
||||
#[command(alias = "ls")]
|
||||
List(ArtifactListArgs),
|
||||
/// Copy artifacts from a workflow run
|
||||
Cp(ArtifactCpArgs),
|
||||
|
|
@ -1279,6 +1281,7 @@ pub(crate) struct WorkflowNamespace {
|
|||
#[derive(Subcommand)]
|
||||
pub(crate) enum WorkflowCommand {
|
||||
/// List available workflows
|
||||
#[command(alias = "ls")]
|
||||
List(WorkflowListArgs),
|
||||
/// Create a new workflow
|
||||
Create(WorkflowCreateArgs),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue