Add command aliases - #191
Open
nathanjcochran wants to merge 1 commit into
Open
Conversation
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.
Adds a bunch of common shorthand aliases (e.g.
ls,rm,add) plus a few that match vocabulary from Ghost (pause/resume) or the underlying tool (ping,user). No existing aliases changed. Open to any and all feedback on these - I tried to limit it to "common" aliases that users might reach for out of habit, or aliases that seemed obvious given the command. But if you think any could be confusing, or if you have ideas for others not included here, please let me know!tiger upgradeupdatetiger configcfgtiger config showlist,lstiger config unsetrm,deletetiger config resetcleartiger auth statuswhoamitiger serviceservices,svctiger service listlstiger service getdescribe,showtiger service deletermtiger service startresumetiger service stoppausetiger service logslogtiger db connectpsqltiger db connection-stringuritiger db test-connectiontest,pingtiger db create roleusertiger mcp installaddtiger mcp listlstiger mcp getdescribe,showThe README's command list now annotates every command that has aliases, including ones that were already there but undocumented (
services/svc,psql,log).Note that cobra accepts aliases but doesn't offer them as shell completions, so
tiger service <TAB>still suggestslist, notls.