summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-03.gitignore go.*HEADv0.0.5v0.0.4v0.0.3masterdevelJeff Carr
2024-11-05junkJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-07-19Merge pull request #152 from sethvargo/sethvargo/depsv0.0.2v0.0.1Eyal Posener
Switch to Go 1.20 errors package
2023-07-16Switch to Go 1.20 errors packageSeth Vargo
This updates all subpackages and removes use of go-multierror in favor of the stdlib implementation.
2021-04-08Merge pull request #140 from antichris/gocomplete-suppress-errorsEyal Posener
gocomplete: suppress error output by default
2021-04-06Update readme according to godocgoreadme
2021-04-06Merge pull request #142 from posener/update-goreadmeEyal Posener
Update goreadme
2021-04-06Update goreadmeEyal Posener
2021-04-06gocomplete: suppress error output by defaultChris Nobody
Prevent the Go command completion from jumbling up the shell prompt on errors by setting the Writer of the standard lib default log.Logger to ioutil.Discard unless the system environment variable `GOCOMP_VERBOSE` has been explicitly set to "1" (e.g. for debugging purposes). Fixes #139
2021-04-06Update readme according to Go docGoreadme
2021-04-06complete: enable complete.Complete() output capturing (#138)antichris
* complete: test capturing Complete() output Implement an Example test to demonstrate capturing the output of Complete(), which is crucial for integration tests. * complete: do not hard-code the I/O streams at the package initialization Instead of defining the input/output streams as unexported global vars that only get their values assigned to once, at the very initialization of the package, use the values that `os.Stdin` and `os.Stdout` have at the particular moment on every `complete.Complete()` call. Fix #137 * complete: capture and discard output in TestComplete Restore earlier behavior using proper stream redirection this time. * complete: output capturing example: define things in the package scope Define the `stringLookup` func type and `promptEnv` func in the package scope instead of the `ExampleComplete_outputCapturing` test. * complete: rename the `stringLookup` func type to `getEnvFn`
2021-04-01Merge pull request #136 from antichris/gocomplete-let-tests-failEyal Posener
gocomplete: do not suppress test failures
2021-04-01gocomplete: do not suppress test failuresChris Nobody
Ensure that the components of the `testing` package that rely on calling `os.Exit` remain functional and any test failures are actually reported back after the `monkey.Patch` in the `gocomplete.Example` test. Fix #135
2021-01-30Fix failing go1.16 testEyal Posener
Fixes #132
2020-11-08fix crash when COMP_POINT is greater than COMP_LINE size (#128)Chris Walz
Some shells (inexplicably) occasionally have a COMP_POINT that is greater than the COMP_LINE size. When that happens completion should be based on length of the COMP_LINE to avoid an out of bounds error. See the original hack fix here: https://github.com/chriswalz/bit/blob/master/cmd/bitcomplete.go on line 39
2020-05-10Merge pull request #123 from posener/autogenEyal Posener
Use autogen to generate code
2020-05-10Use autogenEyal Posener
2020-05-09Update readme according to Go docGoreadme
2020-05-09Merge pull request #122 from posener/genEyal Posener
Autogenerate compflag code
2020-05-09Autogenerate compflag codeEyal Posener
2020-04-10Update readme according to Go docGoreadme
2020-04-10Better godoc badgeEyal Posener
2020-04-09Update readme according to Go docGoreadme
2020-04-09remove goreadme badgeEyal Posener
2020-04-09Update readme according to Go docGoreadme
2020-04-09Merge pull request #121 from posener/actionsEyal Posener
Add github actions
2020-04-09Add github actionsEyal Posener
2020-04-04Update readmeEyal Posener
2020-04-04Add installation instructionsEyal Posener
Related to #120
2020-01-03Fix (un)installation failure detectionEyal Posener
2019-11-27Add missing functions to flagsetEyal Posener
2019-11-27Use command line name instead of external nameEyal Posener
2019-11-27Add duration flagEyal Posener
2019-11-27Fix doc errorEyal Posener
2019-11-24Update to script 1.0.4Eyal Posener
2019-11-24fix script changeEyal Posener
2019-11-23update readmeEyal Posener
2019-11-23Install: use script libraryEyal Posener
2019-11-23Add forgoten option testsEyal Posener
2019-11-22Options: added docsEyal Posener
2019-11-22Options: add testsEyal Posener
2019-11-22Fix nil completorEyal Posener
2019-11-22Extract flag options to predict packageEyal Posener
2019-11-21Fix completion of help when completing flagsEyal Posener
2019-11-20fix references to completeEyal Posener
2019-11-19Merge pull request #109 from posener/goreadmeEyal Posener
readme: Update according to go doc
2019-11-19Update readme according to go docgoreadme
2019-11-19Actually adding the install packageEyal Posener
2019-11-19Move install package back to project rootEyal Posener
2019-11-18Merge pull request #106 from posener/goreadmeEyal Posener
readme: Update according to go doc