This commit is contained in:
vilmibm 2020-05-27 11:01:18 -05:00
parent 09fa75e141
commit 7ed2e4774f

View file

@ -17,7 +17,6 @@ func init() {
var aliasCmd = &cobra.Command{
Use: "alias",
Short: "Create shortcuts for gh commands",
Long: `TODO`,
}
var aliasSetCmd = &cobra.Command{
@ -30,10 +29,8 @@ var aliasSetCmd = &cobra.Command{
Short: "Create a shortcut for a gh command",
Long: `gh alias set <alias> <expansion>
This command lets you write your own shortcuts for running gh. They can be simple strings or accept placeholder arguments.
Examples:
This command lets you write your own shortcuts for running gh. They can be simple strings or accept placeholder arguments.`,
Example: `
gh alias set pv 'pr view'
# gh pv -w 123 -> gh pr view -w 123.