cli/pkg/cmd/extension
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
..
ext_tmpls 💅 simplify filesystem operations while creating extensions 2021-11-24 13:46:36 +01:00
command.go binary extension create 2021-11-23 16:53:45 -06:00
command_test.go binary extension create 2021-11-23 16:53:45 -06:00
extension.go dispatch binary extensions directly 2021-10-19 14:25:33 -05:00
http.go un-stupid the file mode 2021-09-28 15:04:39 -05:00
manager.go 💅 simplify filesystem operations while creating extensions 2021-11-24 13:46:36 +01:00
manager_test.go 💅 simplify filesystem operations while creating extensions 2021-11-24 13:46:36 +01:00
symlink_other.go Rename gh extensionsgh extension 2021-08-11 22:22:39 +02:00
symlink_windows.go Rename gh extensionsgh extension 2021-08-11 22:22:39 +02:00