Skip to content

feat: add -f as the short form of the --fleet flag - #163

Merged
outofcoffee merged 2 commits into
mainfrom
fleet-short-arg
Sep 4, 2026
Merged

feat: add -f as the short form of the --fleet flag#163
outofcoffee merged 2 commits into
mainfrom
fleet-short-arg

Conversation

@outofcoffee

@outofcoffee outofcoffee commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Adds -f as the short form of --fleet on every command that carries the flag (issue #126).

Summary

  • -f registered as the shorthand of --fleet on fleet status, metrics, start, stop, deploy, route, dashboard, and harness
  • fleet logs keeps -f as its --follow short form; its --fleet stays long-form only
  • Tab completion: the harness command's slot logic learns -f as a value-taking fleet-file flag; flag names complete from the registered tree
  • Specs updated in the same change (fleet-config, fleet-routing, fleet-client) and archived as 2026-09-04-fleet-short-arg, per the repo's workflow
  • Flags tables in the fleet and harness command docs updated

Implementation details

  • fleet logs is the exception, not an oversight: the flag framework refuses two flags with the same short name on one command, and reassigning --follow's -f would break an existing, well-published flag
  • --fleet behaves exactly as before everywhere — the short form is additive, so no existing usage changes meaning

@outofcoffee outofcoffee added the enhancement New feature or request label Sep 3, 2026
@outofcoffee outofcoffee changed the title docs(openspec): propose the -f short form for --fleet feat: add -f as the short form of the --fleet flag Sep 4, 2026
@outofcoffee
outofcoffee merged commit db34e6f into main Sep 4, 2026
2 checks passed
@outofcoffee
outofcoffee deleted the fleet-short-arg branch September 4, 2026 00:20
@outofcoffee outofcoffee linked an issue Sep 4, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add -f as short form of --fleet arg in CLI

1 participant