v1.14.0: project-local CLI aliases#113
Merged
Merged
Conversation
…ds (#109) Add .apijack/aliases.json (with ~/.<cliName>/aliases.json fallback) for mapping typed aliases to canonical command paths. Argv is rewritten at CLI bootstrap before Commander parses; longest-prefix match wins, real command paths beat alias collisions, and unknown expansions emit a clear error without aborting the CLI. Routine engine and MCP tool resolution use canonical command names only and are unaffected.
feat: project-local CLI aliases for renaming verbose generated commands (#109)
…111) Follow-up to #111 (wiki refresh): the Documentation section in the README now surfaces the three pages just brought up to v1.13.0 so readers landing on the README can find the configuration reference, session-auth coverage (including dropBaseHeaders), and project-mode docs without hunting through the wiki sidebar.
docs: link Building-a-CLI, Session-Auth, and Project-Mode in README (#111)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #109
Project-local command aliases let you rename verbose generated commands without changing your OpenAPI spec —
customers get-customer-order-summarybecomescustomers summary(or justcs).✨ Features
.apijack/aliases.json(or~/.<cliName>/aliases.jsonfor global) mapping typed aliases to canonical command paths; argv is rewritten at CLI bootstrap before Commander parses, so flags and positional args pass through unchanged. Longest-prefix wins, real commands beat shadowing aliases, and unknown expansions emit a clear startup error. Routines and MCP tools continue using canonical names.🧹 Internal
Building-a-CLI,Session-Auth,Project-Mode(docs: link Building-a-CLI, Session-Auth, and Project-Mode in README (#111) #112).Shipped via
scripts/ship.sh.