Yogesh Lonkar
|
d79d2a0424
|
Fix issue with source command completion
Avoid competion for bash builtin `source` and fallback to default implementation as it throws below error
```
-bash: source: --: invalid option
source: usage: source filename [arguments]
```
|
2019-07-24 16:08:47 +02:00 |
|
Lynn Cyrin
|
7ce0af189e
|
remove unused code
|
2019-07-18 00:52:24 -07:00 |
|
Lynn Cyrin
|
d8985dc6d5
|
reduce diff
|
2019-07-18 00:51:16 -07:00 |
|
Lynn Cyrin
|
19140e1fb5
|
show errors
|
2019-07-18 00:48:09 -07:00 |
|
Lynn Cyrin
|
2299852c3c
|
cleanup subcommand and specs
|
2019-07-18 00:47:18 -07:00 |
|
Lynn Cyrin
|
300288670f
|
add subcommand
|
2019-07-18 00:20:32 -07:00 |
|
Lynn Cyrin
|
cc1cf8c459
|
wording shift
|
2019-07-18 00:14:03 -07:00 |
|
Lynn Cyrin
|
32d84d8e87
|
copy update
|
2019-07-17 00:25:13 -07:00 |
|
Lynn Cyrin
|
01d5cfab70
|
use strings.Join
|
2019-07-17 00:20:44 -07:00 |
|
Lynn Cyrin
|
cdc7af744e
|
add handling for multiple required flags
|
2019-07-17 00:16:40 -07:00 |
|
Lynn Cyrin
|
9293f5b3cc
|
visually shorten logic
|
2019-07-14 21:00:16 -07:00 |
|
Lynn Cyrin
|
f00f35ce8c
|
docs
|
2019-07-13 14:02:45 -07:00 |
|
Lynn Cyrin
|
17108e1db4
|
tabs
|
2019-07-13 13:59:29 -07:00 |
|
Lynn Cyrin
|
cf824804c2
|
update tests
|
2019-07-13 13:57:06 -07:00 |
|
Lynn Cyrin
|
80d7e91191
|
fill out test cases
|
2019-07-13 03:51:26 -07:00 |
|
Lynn Cyrin
|
746866c10d
|
add update integration with the help output
|
2019-07-13 03:44:39 -07:00 |
|
Lynn Cyrin
|
550ed20ea4
|
update tests
|
2019-07-13 01:26:47 -07:00 |
|
Lynn Cyrin
|
f6777bf4bf
|
quote the flag name
|
2019-07-13 01:03:46 -07:00 |
|
Lynn Cyrin
|
6a2ae78373
|
backwards compatible RequiredFlag implementation
|
2019-07-11 21:53:10 -07:00 |
|
Lynn Cyrin
|
922d231891
|
./generate-flag-types cli -i flag-types.json -o flag_generated.go
|
2019-07-11 21:28:09 -07:00 |
|
Lynn Cyrin
|
8a58b7e039
|
remove manual isRequired funcs
|
2019-07-11 20:47:47 -07:00 |
|
Lynn Cyrin
|
62e99ad1c1
|
add IsRequired to generator
|
2019-07-11 20:46:22 -07:00 |
|
Lynn Cyrin
|
310bfeb194
|
add required attr to generator
|
2019-07-11 20:44:41 -07:00 |
|
Lynn Cyrin
|
af627c73c3
|
update func name
|
2019-07-11 20:34:17 -07:00 |
|
Lynn Cyrin
|
3d2d6975b4
|
reduce diff
|
2019-07-11 20:32:42 -07:00 |
|
Lynn Cyrin
|
0608059cc7
|
reduce diff
|
2019-07-11 20:32:15 -07:00 |
|
Lynn Cyrin
|
9c299e7e8a
|
reduce diff
|
2019-07-11 20:28:29 -07:00 |
|
Lynn Cyrin
|
30a71dc427
|
update Run command
|
2019-07-11 20:25:52 -07:00 |
|
Lynn Cyrin
|
f7d5e2c21e
|
reduce diff
|
2019-07-11 20:22:16 -07:00 |
|
Lynn Cyrin
|
e6842c0b75
|
merge in test file
|
2019-07-11 20:21:05 -07:00 |
|
Lynn Cyrin
|
fa8187f2ce
|
reduce diff
|
2019-07-11 20:19:42 -07:00 |
|
Lynn Cyrin
|
ce1630141e
|
reduce diff???
|
2019-07-11 20:18:52 -07:00 |
|
Lynn Cyrin
|
138dbaafec
|
Merge branch 'master' into required_flags
|
2019-07-11 20:07:55 -07:00 |
|
Audrius Butkevicius
|
da581b24e8
|
Merge branch 'master' into redundant-nil-check-slice
|
2019-06-28 07:55:04 +01:00 |
|
Ben Zvan
|
65053360c7
|
Revert "Created using Colaboratory"
This reverts commit 83b99c4109 .
This commit was randomly created here when I connected to colaboratory
|
2019-06-26 09:41:11 -05:00 |
|
Ben Zvan
|
83b99c4109
|
Created using Colaboratory
|
2019-06-25 18:47:58 -05:00 |
|
Ben Zvan
|
23042d3707
|
Merge branch 'master' into master
|
2019-06-14 10:14:07 -05:00 |
|
Yogesh Lonkar
|
62f02f21ef
|
Don't complete hidden flags
|
2019-04-11 10:57:58 +05:30 |
|
Yogesh Lonkar
|
1d7a2b08d6
|
Add default completion on commands, test cases, refactor code
|
2019-03-21 13:01:48 +05:30 |
|
Yogesh Lonkar
|
fb1421d903
|
Fix duplicate completion of existing flag
|
2019-03-20 21:34:56 +05:30 |
|
Yogesh Lonkar
|
58a072d573
|
Add bash completion support for flags
|
2019-03-20 20:28:51 +05:30 |
|
mingrammer
|
ddc3453179
|
Update README.md
|
2019-03-07 00:04:18 +09:00 |
|
mingrammer
|
a0453b2200
|
Fix the unaligned indents for the commands that have no categories
|
2019-03-06 23:51:22 +09:00 |
|
Audrius Butkevicius
|
693af58b4d
|
Merge pull request #766 from agis/patch-1
Fix README typo
|
2019-02-03 18:40:40 +00:00 |
|
Audrius Butkevicius
|
6aa7f352fa
|
Merge branch 'master' into redundant-nil-check-slice
|
2019-02-03 18:39:49 +00:00 |
|
Audrius Butkevicius
|
e229212769
|
Merge pull request #798 from Quasilyte/patch-1
use type switch instead of if/else
|
2019-02-03 18:37:18 +00:00 |
|
Iskander (Alex) Sharipov
|
5b83c895a7
|
use type switch instead of if/else
This reduces the syntax noise of the code by
removing excessive type assertions.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
2019-01-29 22:51:02 +03:00 |
|
Ben Zvan
|
4a76377775
|
go fmt
|
2018-12-26 12:48:12 -06:00 |
|
Ben Zvan
|
d63733fe14
|
adds test coverage to context
|
2018-12-26 12:45:34 -06:00 |
|
Audrius Butkevicius
|
b67dcf995b
|
Merge pull request #776 from gliptak/patch-2
Bring Go version current
|
2018-10-29 21:32:00 +00:00 |
|