cli/pkg/cmd
Mislav Marohnić a65b9a3831 💅 simplify filesystem operations while creating extensions
- doing mkdir before `git init <dir>` is not necessary; git will
  create the directory if it doesn't exist
- passing both `-C` and `--git-dir` is not needed for git invocations
- reading the current working directory isn't necessary for specifying
  nested paths to operate in
- use `git add .` instead of explicitly naming all paths; we generate a
  gitignore for binaries that we want to avoid adding
- generate cross-platform gitignore for Go binary extensions
- add helpers to simplify writing files, tests
2021-11-24 13:46:36 +01:00
..
actions Mark actions command as non-runnable 2021-11-03 16:58:51 +01:00
alias Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
api Clarify magic type conversion of api params (#4434) 2021-11-18 14:14:50 +00:00
auth Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
browse Encode segments of gh browse resulting URL (#4663) 2021-11-18 13:10:55 +00:00
codespace Remove the default value from idle-timeout as the API takes care of it and this can override user settings 2021-11-18 11:38:26 -08:00
completion Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
config Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
extension 💅 simplify filesystem operations while creating extensions 2021-11-24 13:46:36 +01:00
factory Avoid resolving executable() until requested at runtime 2021-09-24 14:42:41 +02:00
gist Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
gpg-key Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
issue Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
pr Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
release Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
repo Merge pull request #4750 from cli/replace-shurcool 2021-11-18 09:10:06 -08:00
root Inherit API endpoint configuration from the Codespaces environment (#4723) 2021-11-22 12:40:01 +01:00
run Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
secret Support setting user Codespaces secrets (#4699) 2021-11-18 12:55:24 +01:00
ssh-key Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Escape workflow information when generating URLs 2021-11-18 12:17:59 -08:00