Commit graph

31 commits

Author SHA1 Message Date
Mislav Marohnić
aef1a4ba4d Extract root command and factory logic into separate packages 2020-08-07 14:40:33 +02:00
Mislav Marohnić
20e30453d3 Fix tests that rely on stubbed table printer output 2020-08-06 21:45:16 +02:00
Mislav Marohnić
82661c197e Isolate pr list command 2020-08-04 18:38:06 +02:00
vilmibm
2dd42eb9aa minor alias scriptability changes 2020-07-20 11:10:34 -05:00
vilmibm
cf3af450eb minor docs 2020-07-15 11:40:35 -05:00
vilmibm
a9d93f8c57 correct docs 2020-07-14 19:42:05 -05:00
vilmibm
bbd756a99f split shell alias execution into new function 2020-07-14 16:13:00 -05:00
nate smith
c3a5384895 add experimental powershell support for shell aliases 2020-07-14 16:12:51 -05:00
vilmibm
3a9167cfe4 Implement shell aliases
This command adds --shell to `gh alias set`, allowing specified aliases
to be run through a shell interpreter.
2020-07-14 16:12:07 -05:00
HowJMay
2fc4c000b5 fix typo 2020-06-22 15:19:50 +08:00
Mislav Marohnić
0dfc0f733f Fix indentation of Example blocks
In HTML, `Example` blocks seem to be already injected in fenced Markdown
blocks `` ``` ``, so they don't need to be especially intented.
2020-06-11 20:31:37 +02:00
Mislav Marohnić
e6a0c3dc28 Fix EXAMPLES sections of various commands
- Code should be intented per Markdown syntax for a code block. This
  matters when this documentation is rendered to HTML

- Fix some innaccurate usage examples

- Tweak wording, formatting in a few places
2020-06-11 18:47:57 +02:00
vilmibm
8963d80942 better get func 2020-06-05 13:09:04 -05:00
vilmibm
6bd898ee54 start on alias delete 2020-06-05 13:04:45 -05:00
vilmibm
953ea7cf7b do not use : when not printing to tty 2020-06-05 12:06:51 -05:00
vilmibm
8ca53dd3ba no example for no-arg command 2020-06-05 12:06:51 -05:00
vilmibm
a05daf2145 gh alias list 2020-06-05 12:06:51 -05:00
vilmibm
6defbbf73f finally properly handle quoted arguments to alias set 2020-06-03 15:00:49 -05:00
vilmibm
c960e568f8 w h i t e s p a c e 2020-06-02 13:52:42 -05:00
vilmibm
51196265cc update note 2020-06-02 13:48:19 -05:00
vilmibm
4804c8bc77 odot 2020-06-02 11:26:44 -05:00
vilmibm
52a02a7a4b todo 2020-06-02 11:26:44 -05:00
vilmibm
9c4bf00703 todo 2020-06-02 11:26:44 -05:00
vilmibm
2627c5bb74 only process aliases when non-existent command passed 2020-06-02 11:26:44 -05:00
vilmibm
ad7c484243 TODO 2020-06-02 11:26:44 -05:00
vilmibm
24e97a460f prevent overriding gh commands 2020-06-02 11:26:44 -05:00
vilmibm
3552e72f7c allow overwriting aliases 2020-06-02 11:26:44 -05:00
vilmibm
e37b517211 better placeholder handling 2020-06-02 11:26:44 -05:00
vilmibm
125f338686 doc 2020-06-02 11:26:44 -05:00
vilmibm
7ed2e4774f docs 2020-06-02 11:26:44 -05:00
vilmibm
09fa75e141 implement gh alias set 2020-06-02 11:26:44 -05:00