Skip to content

Add support for flag aliases#717

Merged
DannyBen merged 4 commits into
masterfrom
add/flag-aliases
Jul 8, 2026
Merged

Add support for flag aliases#717
DannyBen merged 4 commits into
masterfrom
add/flag-aliases

Conversation

@DannyBen

@DannyBen DannyBen commented Jul 8, 2026

Copy link
Copy Markdown
Member

cc #716, #715


This PR adds alias support to flags:

flags:
- long: --container
  short: -c
  alias: [-p, --pod]   # <= this
  arg: name
  help: Container name

Aliases are just alternate spellings, like -c. Input values will still only be available in the canonical ${args[--container]}


  • Implementation
  • Specs
  • CLI docs
  • JSON Schema
  • Bashly bash completions
  • Bashly.dev docs - Source | Preview

@DannyBen DannyBen merged commit 0571f53 into master Jul 8, 2026
8 checks passed
@DannyBen DannyBen deleted the add/flag-aliases branch July 8, 2026 16:11
@DannyBen DannyBen added this to the 1.4.0 milestone Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant