4a716d101b
Extending redirection to stdout, stderr, stdin
2019-06-07 10:48:23 -04:00
5f23f55c81
Update README.md
...
To avoid confusion, it is better to use `localCmd` instead of `rootCmd`
2019-06-07 10:47:24 -04:00
9eb9f5c66b
Add gardenctl to projects build using Cobra
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com >
2019-06-07 10:33:55 -04:00
2411ac592a
remove unused struct fields
2019-06-07 10:31:03 -04:00
984374f5b6
clean up testproject files after test executes
2019-06-07 10:31:03 -04:00
11aa612384
test add
2019-06-07 10:31:03 -04:00
303a3e5160
vgo - strip out unused methods
2019-06-07 10:31:03 -04:00
0bb1506d25
remove commented field in struct
2019-06-07 10:31:03 -04:00
2fea75b02e
vgo - add command working
2019-06-07 10:31:03 -04:00
3c42f846c2
fix duplicated dir
2019-06-07 10:31:03 -04:00
221bae3986
depricate package name flag
2019-06-07 10:31:03 -04:00
b8ad19ad0d
reorder some operations
2019-06-07 10:31:03 -04:00
732e4db0d4
vgo - trim some uneeded data from struct
2019-06-07 10:31:03 -04:00
c7ac101cf8
vgo - fixing up the add op to work with vgo
2019-06-07 10:31:03 -04:00
3741457400
add CommandTemplate
2019-06-07 10:31:03 -04:00
50665e9993
vgo - update golden templates
2019-06-07 10:31:03 -04:00
642c3c7a0e
vgo - compare generated files against golden files
2019-06-07 10:31:03 -04:00
e993d53002
vgo - take named directory or current wd
2019-06-07 10:31:03 -04:00
04af6aed80
vgo - add todo
2019-06-07 10:31:03 -04:00
c3b51f3a2e
simplify test
2019-06-07 10:31:03 -04:00
4c22a20fd4
vgo - remove unused methods
2019-06-07 10:31:03 -04:00
73b5215dc7
vgo - fix format
2019-06-07 10:31:03 -04:00
44c2d482f6
fix calling to createLicenseFile
2019-06-07 10:31:03 -04:00
91dbcb7ffe
remove commented code
2019-06-07 10:31:03 -04:00
5b1685faaa
vgo - generate license
2019-06-07 10:31:03 -04:00
abab9aa52a
vgo - add Create method to Project struct
2019-06-07 10:31:03 -04:00
69420a9ffa
vgo - create directory
2019-06-07 10:31:03 -04:00
17dc9f8142
fixing up templates more
2019-06-07 10:31:03 -04:00
26d210e2cd
vgo - fixing up the root template
2019-06-07 10:31:03 -04:00
c356c6491b
add .idea/* to gitignore
2019-06-07 10:31:03 -04:00
80ea2901b6
vgo-support - re-working code generator
2019-06-07 10:31:03 -04:00
d658160bdd
Add markdown file explaining support for PowerShell
2019-06-07 10:26:08 -04:00
21ccc7b307
Add basic PowerShell completions
2019-06-07 10:26:08 -04:00
e2c45ac9eb
Started working on Unified API for the various shell completions:
...
- Moved some general function to a more generic shell_completions file.
- Added functions to mark flag as directory completion.
- Started making the global functions docs more generic (not bash
specific) and added compatibility matrix.
2019-06-07 10:09:50 -04:00
601d83077b
typo in zsh-completions.md
2019-06-07 10:09:50 -04:00
edbb6712e2
zsh-completions: implemented argument completion.
2019-06-07 10:09:50 -04:00
d262154093
zsh-completion: tidy up function and variable names
...
There are many files in the package, renamed all zsh-completion
related names to convey that.
2019-06-07 10:09:50 -04:00
8822449c0f
zsh-completion: added escapinng of single quotes in flag description.
2019-06-07 10:09:50 -04:00
66a98807d4
zsh-completion: test to verify that we're always running on root cmd.
2019-06-07 10:09:50 -04:00
7b62c7df78
zsh-completion: --version and --help still doesn't work correctly
...
When invoking from subcommand. Modified the test to prove.
2019-06-07 10:09:50 -04:00
7ce08e227e
zsh-completion: completion should always parse the root command!
...
It was running on the command it was invoked from which caused some
additional helpers (--help, --version) not to be generated.
2019-06-07 10:09:50 -04:00
91e80cc4a4
zsh-completion: remove bad test
...
I thought there was a bug in the boolSlice definition but it seems
It was my mistake in identifying what's going on. Also removed the
provisioning to skip tests (doesn't seem to be needed anymore).
2019-06-07 10:09:50 -04:00
0d9a33d2da
zsh-completion: remove temporary file
...
Yet another temporary file that found itself in the repo :(
2019-06-07 10:09:50 -04:00
50f385938e
zsh-completion: added support for filename globbing.
2019-06-07 10:09:50 -04:00
bda855a1a0
zsh-completions: fixed zsh completion markdown file name.
2019-06-07 10:09:50 -04:00
dd577bdf31
zsh-completion: added zsh-completion documentation.
2019-06-07 10:09:50 -04:00
461a39d5b9
zsh-completion: removed forgotten function.
2019-06-07 10:09:50 -04:00
df12a0a249
zsh-completion: two fixes for identifying flag usage:
...
Fixed after input from @eparis:
- Decide on option parameter by checking NoOptDefVal
- Slices also could be specified multiple times.
2019-06-07 10:09:50 -04:00
e9ee8f0446
zsh-completion: removed the _dep_ files.
...
They were committed by mistake.
2019-06-07 10:09:50 -04:00
ec4b8c974c
zsh-completions: revised flags completion rendering + new features:
...
- If the flags are not bool the completion expects argument.
- You don't have to specify file extensions for file completion to
work.
- Allow multiple occurrences of flag if type is stringArray.
Need to verify that these assumption are correct :)
2019-06-07 10:09:50 -04:00