Skip to content

Alias for Branches #411

@chrisdanna

Description

@chrisdanna

Would it be possible to add command like configurations, e.g. Alias and Description for branches? I am having an issue where my branch names are becoming fairly long, and would improve ease of use of my CLI if descriptions and aliases for branches were avaialable.

app.Configure(config =>
{
  config.AddBranch<AddSettings>("add", add =>
  {
    add.Alias("a") // <-- or something similar
    add.SetDescription("Add something");
    add.AddCommand<AddPackageCommand>("package");
    add.AddCommand<AddReferenceCommand>("reference");
  })
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions