Commit Graph

  • 5e4be084f3 Merge tag 'v1.12.1' master v1.12.1 S.Solodyagin 2025-10-15 20:52:08 +03:00
  • efa36914bb fix: don't require a Run() method on dynamic commands Alec Thomas 2025-07-21 13:22:05 +10:00
  • 385f9b6d5a chore(deps): update all non-major dependencies (#542) renovate[bot] 2025-07-14 11:53:16 +10:00
  • f8bb69aa66 chore(deps): update all non-major dependencies (#540) renovate[bot] 2025-07-04 18:08:25 +10:00
  • 575a0cdf6e Merge remote-tracking branch 'upstream/master' S.Solodyagin 2025-07-02 20:54:46 +03:00
  • 8469b5cc3c chore: minor tweak for tinygo Alec Thomas 2025-06-30 10:56:36 +10:00
  • fcd23468fe Update license of levenshtein method (#539) Sam Xie 2025-06-17 14:45:17 -07:00
  • a521b46eaf chore(deps): update all non-major dependencies (#533) renovate[bot] 2025-06-07 13:22:41 +10:00
  • 9bc3bf9925 chore: optionally allow parsing of hyphen-prefixied flag parameters Alec Thomas 2025-05-15 19:31:29 +10:00
  • 8e03dbeaf6 fix: broken internal link (#532) educhastenier 2025-05-12 11:20:28 +02:00
  • ebf6b70ab9 chore(deps): update all non-major dependencies (#531) renovate[bot] 2025-05-09 18:01:36 +10:00
  • e923ecc9ff chore(deps): update dependency lefthook to v1.11.11 (#530) renovate[bot] 2025-04-28 19:55:25 +10:00
  • 66d5762b66 Support parsing integer literals (#529) Sam Xie 2025-04-23 15:24:47 -07:00
  • f0b321097e chore(deps): update dependency lefthook to v1.11.10 (#527) renovate[bot] 2025-04-21 13:02:03 +10:00
  • 95c04ac28c chore(deps): update all non-major dependencies (#515) renovate[bot] 2025-04-12 15:49:32 +10:00
  • 78d4066dab feat: Allow configuring global hooks via Kong's functional options (#511) Bob Lail 2025-03-21 20:04:20 -07:00
  • 1edf069f4a chore(deps): update all non-major dependencies (#506) renovate[bot] 2025-03-17 08:28:07 +11:00
  • 44be791798 feat: Placeholder string interpolation. (#510) Chris Gunn 2025-03-12 17:49:21 -07:00
  • 3d03233b16 refactor: ParseError can carry an exit code Alec Thomas 2025-03-11 17:32:24 +11:00
  • a86adbbb25 feat: Allow Kong to exit with semantic exit codes (#507) Bob Lail 2025-03-10 23:21:09 -07:00
  • 73db2e86a5 fix: ignore --help flag for determining optional flag usage Alec Thomas 2025-03-08 21:05:55 +11:00
  • 5b36573738 feat: Allow kong.Path to describe remaining unparsed args (#472) Bob Lail 2025-03-07 14:28:09 -08:00
  • 0c495e4936 feat: add IgnoreDefault optional interface Alec Thomas 2025-02-26 14:37:56 +11:00
  • 300cba8c27 feat: Allow ignoring fields from embedded structs (#499) Cam Hutchison 2025-02-17 20:06:02 +11:00
  • 3b9af5bdce feat: Support singleton providers (#501) Abhinav Gupta 2025-02-16 22:44:03 -08:00
  • 7f94c902b9 chore(deps): update module github.com/alecthomas/kong to v1.8.1 (#503) renovate[bot] 2025-02-17 15:41:24 +11:00
  • 9f71a49767 ci: Test with Go 1.23 and 1.24 (#502) Abhinav Gupta 2025-02-16 19:10:57 -08:00
  • cab639ab83 chore: add test for decoding Alec Thomas 2025-02-13 11:22:03 -08:00
  • 7747b4146b Revert "Load environment variables as a resolver (#480)" Alec Thomas 2025-02-13 11:17:47 -08:00
  • 3cedc44821 Load environment variables as a resolver (#480) Maxime Vidori 2025-02-09 23:53:27 +01:00
  • 6590294c3d chore(deps): update all non-major dependencies (#486) renovate[bot] 2025-02-08 22:24:06 +11:00
  • 705e259cd6 chore: reduce lefthook output Alec Thomas 2025-01-30 14:11:42 +11:00
  • a6efd403cc chore: add lefthook Alec Thomas 2025-01-30 14:10:48 +11:00
  • 5765c11522 refactor: minor simplification of getMethods Alec Thomas 2025-01-30 14:08:07 +11:00
  • 4be6ae6168 hooks: Recursively search embedded fields for methods (#494) Abhinav Gupta 2025-01-29 18:43:10 -08:00
  • 4e1757c0e8 feat: allow use of providers that don't return errors Alec Thomas 2025-01-30 13:39:31 +11:00
  • 9c08a58eb2 Support hooks on embed:"" fields (#493) Abhinav Gupta 2025-01-28 21:04:52 -08:00
  • 042a3258ec Document about binds with example (#491) Hritik Vijay 2025-01-25 05:21:46 +05:30
  • 8d238c88fa chore(deps): update all non-major dependencies (#485) renovate[bot] 2025-01-13 22:13:14 +11:00
  • 7ca846736c fix(Context.Run): Don't panic on unselected root node (#484) Abhinav Gupta 2025-01-03 18:13:14 -08:00
  • b811e32243 fix: whoops, forgot to prefix "and" Alec Thomas 2024-12-29 18:02:02 +09:00
  • 47b090f2f4 fix: add an xorprefix:"..." option for prefixing xor/and groups Alec Thomas 2024-12-29 17:53:41 +09:00
  • cacaace969 fix: don't append ... for fields with an explicit type Alec Thomas 2024-12-29 17:31:07 +09:00
  • a32b94b705 chore: interface{} -> any Alec Thomas 2024-12-29 08:10:34 +09:00
  • 36257680f1 refactor(test): replace os.Setenv() with t.Setenv() Alec Thomas 2024-12-29 08:02:45 +09:00
  • a14bb2072c fix: don't call Apply() twice Alec Thomas 2024-12-29 07:42:25 +09:00
  • 840220c2ed feat: allow hooks to be declared on embedded fields Alec Thomas 2024-12-27 13:41:00 +11:00
  • 565ae9b740 chore(deps): update all non-major dependencies (#476) renovate[bot] 2024-12-12 22:32:41 +11:00
  • f2fcd34abf docs: fix README TOC Alec Thomas 2024-12-07 19:43:01 +11:00
  • 388ba35f1a feat: add support for Provide*() (<type>, error) methods on commands Alec Thomas 2024-12-07 17:08:31 +11:00
  • 87ee7dc3db chore(deps): update all non-major dependencies (#474) renovate[bot] 2024-12-05 10:29:00 +11:00
  • 81d0c29303 fix: regression where all args became passthrough Alec Thomas 2024-12-03 08:22:10 +11:00
  • 96647c30af feat: add old "passthrough" behaviour back in as an option Alec Thomas 2024-12-01 19:58:24 +11:00
  • 88e13d750a chore: fix all golangci-lint warnings Alec Thomas 2024-12-01 11:12:48 +11:00
  • 5221ebb8fb chore(deps): update all non-major dependencies (#469) renovate[bot] 2024-11-15 17:24:56 +11:00
  • f388f6cd39 fix: NPE due to checking if error is nil when it can be a value Alec Thomas 2024-11-06 09:35:14 +11:00
  • c90c6732cc chore(deps): update module github.com/alecthomas/kong to v1.3.0 (#467) renovate[bot] 2024-11-04 13:51:07 +11:00
  • 2544d3f008 feat: add AfterRun() hook Alec Thomas 2024-11-03 14:48:36 +11:00
  • d0beaf7df3 fix: update enum+default vars after interpolation Alec Thomas 2024-11-03 14:28:27 +11:00
  • 1b9d57eec1 feat: support optionally passing kong.Context to Validate() Alec Thomas 2024-11-03 14:14:55 +11:00
  • 64229c9fe7 fix: format enum value Alec Thomas 2024-11-03 14:00:32 +11:00
  • 7bbb0b76ad feat: support recursive injection of provider parameters Alec Thomas 2024-11-01 12:23:32 +11:00
  • 373692af87 refactor: reuse callAnyFunction for callFunction Alec Thomas 2024-11-01 11:55:27 +11:00
  • 07c8821614 Fix broken anchor link in README.md (#464) 市川恭佑 (ebi) 2024-10-27 05:54:43 +09:00
  • 56e990fc15 chore(deps): update all non-major dependencies (#462) renovate[bot] 2024-10-07 14:25:31 +11:00
  • c9fbc305f4 chore(deps): update module github.com/alecthomas/assert/v2 to v2.11.0 (#459) renovate[bot] 2024-09-23 10:05:14 +10:00
  • b34e9952de Fix Markdown in README.md (#458) Alexey Palazhchenko 2024-09-19 12:27:07 +04:00
  • 31301f527c docs: add note about 1.0 to README Alec Thomas 2024-09-19 04:08:34 +10:00
  • 3b28c2c83a chore(deps): update module github.com/alecthomas/kong to v1 (#457) renovate[bot] 2024-09-16 19:49:21 +10:00
  • 26c1c9ad05 fix: allow duplicate custom negated flags Alec Thomas 2024-09-12 12:05:09 +10:00
  • 9924ec4461 fix!: Include -- in passthrough args (#436) Bob Lail 2024-09-10 17:51:37 -07:00
  • 4ecb53599b Make negatable flag name customisable (#439) Cam Hutchison 2024-09-10 21:02:37 +10:00
  • 7d84b95294 Feature: Add check for overlapping xor and and groups (#443) Camilla 2024-09-10 13:01:12 +02:00
  • b297ae97f2 chore(deps): update all non-major dependencies (#455) renovate[bot] 2024-09-10 21:00:16 +10:00
  • 6c216a37ce fix: typo in README (#451) Cole Snodgrass 2024-08-20 18:55:19 -07:00
  • 2ad9498bdf chore: bump go + golangci-lint Alec Thomas 2024-08-20 08:16:24 +10:00
  • 6292953645 docs: specify usage of the placeholder tag (#448) Jean-Raphaël Matte 2024-08-12 23:05:45 -04:00
  • d113f61e2a chore(deps): update all non-major dependencies (#445) renovate[bot] 2024-08-12 16:24:10 +10:00
  • ff6d5ba7d5 Feature: Add xand tag (#442) Camilla 2024-08-08 08:58:22 +02:00
  • 5f9c5cc822 Remove extra newline when message contains trailing newlines. (#387) Mitar 2024-07-05 14:52:45 +02:00
  • e864bb0220 feat: allow non-structs to be used as commands (#428) Leo Antunes 2024-07-05 14:51:38 +02:00
  • 605cdd64a9 chore(deps): update all non-major dependencies (#425) renovate[bot] 2024-07-05 22:49:21 +10:00
  • fcb5e05c07 fix: When a Grammar combines flags with passthrough args, see if an unrecognized flag may be treated as a positional argument (#435) Bob Lail 2024-07-05 05:48:33 -07:00
  • d315006dca Fix reference to non-existent function in README (#430) Ben Weintraub 2024-05-28 15:41:28 -07:00
  • 38e5c6198e Update help example to use vars (#429) Alex Broad 2024-05-27 12:02:24 +01:00
  • 2ab5733f11 chore(deps): update all non-major dependencies (#424) renovate[bot] 2024-04-10 23:12:03 +10:00
  • 6795fa089a rename s.solodyagin 2024-04-03 20:59:37 +03:00
  • 0376ce4e06 chore(deps): update module github.com/gliderlabs/ssh to v0.3.7 (#421) renovate[bot] 2024-03-25 17:45:36 +11:00
  • 958a344920 Aliases can be duplicated between different sub commands (#419) Adam Lesperance 2024-03-14 14:17:27 -05:00
  • 3f756c1dbd chore(deps): update all non-major dependencies (#418) renovate[bot] 2024-03-11 12:37:34 +11:00
  • a41b2e8f4e fix: slices/maps of existingfile would fail to work Alec Thomas 2024-03-08 17:20:45 +11:00
  • 8e675d6130 fix: broken test Alec Thomas 2024-03-06 09:44:34 +11:00
  • 4a9fe056ea Support string pointers for path mapper (#360) Chris Stephen 2024-03-05 04:59:11 -04:00
  • 088cd7874e chore(deps): update all non-major dependencies (#410) renovate[bot] 2024-03-05 10:53:35 +11:00
  • 51e3de86cf chore(renovate): disable golangci-lint Alec Thomas 2024-03-05 10:12:31 +11:00
  • dc13080e39 feat: Add info about optional flags to usage (#416) Dennis Ploeger 2024-02-27 09:39:21 +01:00
  • fa9b636997 Support aliases for flags (#409) Prashant Varanasi 2024-02-26 16:10:15 -08:00
  • 30e84613fe chore(deps): update module github.com/alecthomas/assert/v2 to v2.5.0 (#407) renovate[bot] 2024-01-22 19:21:44 +11:00
  • 5e5a0cf53d chore(deps): update all non-major dependencies (#406) renovate[bot] 2024-01-15 14:47:48 +11:00
  • 4907efc9c8 chore(deps): update all non-major dependencies (#405) renovate[bot] 2023-12-25 13:33:17 +11:00