S.Solodyagin
5e4be084f3
Merge tag 'v1.12.1'
2025-10-15 20:52:08 +03:00
renovate[bot]
385f9b6d5a
chore(deps): update all non-major dependencies ( #542 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 11:53:16 +10:00
renovate[bot]
f8bb69aa66
chore(deps): update all non-major dependencies ( #540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 18:08:25 +10:00
S.Solodyagin
575a0cdf6e
Merge remote-tracking branch 'upstream/master'
2025-07-02 20:54:46 +03:00
renovate[bot]
a521b46eaf
chore(deps): update all non-major dependencies ( #533 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 13:22:41 +10:00
renovate[bot]
ebf6b70ab9
chore(deps): update all non-major dependencies ( #531 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 18:01:36 +10:00
renovate[bot]
95c04ac28c
chore(deps): update all non-major dependencies ( #515 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-12 15:49:32 +10:00
renovate[bot]
1edf069f4a
chore(deps): update all non-major dependencies ( #506 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 08:28:07 +11:00
renovate[bot]
7f94c902b9
chore(deps): update module github.com/alecthomas/kong to v1.8.1 ( #503 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 15:41:24 +11:00
renovate[bot]
6590294c3d
chore(deps): update all non-major dependencies ( #486 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-08 22:24:06 +11:00
renovate[bot]
8d238c88fa
chore(deps): update all non-major dependencies ( #485 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 22:13:14 +11:00
renovate[bot]
565ae9b740
chore(deps): update all non-major dependencies ( #476 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 22:32:41 +11:00
renovate[bot]
87ee7dc3db
chore(deps): update all non-major dependencies ( #474 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 10:29:00 +11:00
renovate[bot]
5221ebb8fb
chore(deps): update all non-major dependencies ( #469 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 17:24:56 +11:00
renovate[bot]
c90c6732cc
chore(deps): update module github.com/alecthomas/kong to v1.3.0 ( #467 )
2024-11-04 13:51:07 +11:00
renovate[bot]
56e990fc15
chore(deps): update all non-major dependencies ( #462 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 14:25:31 +11:00
renovate[bot]
3b28c2c83a
chore(deps): update module github.com/alecthomas/kong to v1 ( #457 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 19:49:21 +10:00
renovate[bot]
b297ae97f2
chore(deps): update all non-major dependencies ( #455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 21:00:16 +10:00
renovate[bot]
d113f61e2a
chore(deps): update all non-major dependencies ( #445 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 16:24:10 +10:00
renovate[bot]
605cdd64a9
chore(deps): update all non-major dependencies ( #425 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 22:49:21 +10:00
Alex Broad
38e5c6198e
Update help example to use vars ( #429 )
2024-05-27 21:02:24 +10:00
renovate[bot]
2ab5733f11
chore(deps): update all non-major dependencies ( #424 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 23:12:03 +10:00
s.solodyagin
6795fa089a
rename
2024-04-03 20:59:37 +03:00
renovate[bot]
0376ce4e06
chore(deps): update module github.com/gliderlabs/ssh to v0.3.7 ( #421 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 17:45:36 +11:00
renovate[bot]
3f756c1dbd
chore(deps): update all non-major dependencies ( #418 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 12:37:34 +11:00
renovate[bot]
088cd7874e
chore(deps): update all non-major dependencies ( #410 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 10:53:35 +11:00
renovate[bot]
5e5a0cf53d
chore(deps): update all non-major dependencies ( #406 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 14:47:48 +11:00
renovate[bot]
4907efc9c8
chore(deps): update all non-major dependencies ( #405 )
2023-12-25 13:33:17 +11:00
renovate[bot]
d63c4d71e9
chore(deps): update module github.com/chzyer/readline to v1 ( #401 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 10:41:39 +11:00
renovate[bot]
79809cbb47
chore(deps): update all non-major dependencies ( #398 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 09:39:58 +11:00
dependabot[bot]
a9be85c4d3
Bump golang.org/x/crypto in /_examples/server ( #352 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20200117160349-530e935923ad to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 17:39:03 -08:00
Keilin Olsen
6042c4b10e
Add example of HelpProvider + README
...
Relocate detailed help docs to main README
2022-05-18 01:07:21 -07:00
Keilin Olsen
1db2ea27af
Move old shell/main to subdirectory
...
Also update README reference to same
2022-05-18 01:07:21 -07:00
Nate Parsons
f00d33b57c
Use reflect-compatible struct tags in examples
2021-11-23 15:19:08 +11:00
Alec Thomas
60222fe397
Add README + go modules to server example.
2020-01-24 20:02:10 +11:00
Alec Thomas
2ac3d43124
Make invalid value error messages more useful.
2019-04-01 10:07:10 +11:00
Alec Thomas
862837e6fa
Add ConfigFlag for loading configuration through a flag.
2018-09-11 10:02:23 +10:00
Alec Thomas
539214f23e
Add contextual information to mapper errors.
2018-07-26 17:45:12 +10:00
Alec Thomas
99ff32a85f
Bind Vars.
2018-07-06 10:44:09 +10:00
Alec Thomas
6408010083
Clean up disparity between Context and Kong.
...
Previously, there was a confusing mix of functionality shared between
the two wherein you would need to use the Kong type for printing errors,
etc. but it did not have access to the context in order to print
context-sensitive usage information. This has been fixed.
Additionally, there are now fuzzy correction suggestions for flags and
commands
Also added a server example which shows how Kong can be used for parsing
in interactive shells. Run with:
$ go run ./_examples/server/*.go
Then interact with:
$ ssh -p 6740 127.0.0.1
2018-06-27 09:11:11 +10:00
Alec Thomas
7e022e20b0
Fix example.
2018-06-21 23:22:29 +10:00
Alec Thomas
a2ec050947
Implement a robust Context.Run().
...
This helps when composing large applications from separate command
structs.
2018-06-21 21:50:30 +10:00
Alec Thomas
212ea2a356
Add path, existingfile and existingdir types.
...
- Document custom types.
- Add docker example.
2018-06-21 16:19:08 +10:00
Alec Thomas
cdcdf49f67
Display usage information on error.
2018-06-21 10:08:01 +10:00
Alec Thomas
d9c0dd25b1
Compact help should display full command.
2018-06-21 00:04:35 +10:00
Alec Thomas
36506509f1
Better error reporting for short flags.
2018-06-20 22:45:34 +10:00
Alec Thomas
4edc701d63
Correctly check for required positionals.
2018-06-20 22:36:33 +10:00
Alec Thomas
653531d6bc
Start making help slightly configurable.
2018-06-20 21:55:39 +10:00
Alec Thomas
73064a687f
Add <command> to help when a sub-command is required.
2018-06-08 15:20:58 +10:00
Alec Thomas
96fa9c43d5
Improved documentation and help.
2018-06-05 11:36:51 +10:00