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:
Bryan Helmkamp 2026-04-14 21:19:18 -04:00
parent 3be7916fbc
commit bf9f4f9353
No known key found for this signature in database

View file

@ -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),