Commit Graph
42 Commits
Author SHA1 Message Date
Giulio Canti 1a77f72cda change Effect type parameters order (#2034) 2024-02-09 16:51:47 +13:00
Michael ArnaldiandTim 9a2d1c1468 feat(breaking): Add ClassTag, improve Effect.serviceConstants, require string identifier for all tags (#2028)
Co-authored-by: Tim <hello@timsmart.co>
2024-02-09 16:51:47 +13:00
Tim b1e2086ea8 remove re-exports for platform packages (#2025) 2024-02-09 16:51:47 +13:00
Maxwell Brown aab2e4e156 Ensure single invalid variadic option is reported as an error (#2001) 2024-01-29 17:40:42 +13:00
Maxwell Brown eaab2e81be Default Options.repeated to an empty array if option not provided (#1984) 2024-01-25 17:00:15 -05:00
Maxwell Brown 9a0d61f674 Rename mapOrFail to mapEffect (#1938) 2024-01-17 13:41:49 -05:00
Maxwell Brown 86180cc961 Introduce the executable argument to CliApp.make (#1925) 2024-01-16 16:42:21 -05:00
Tim d1c7cf54fd add ConfigFile module to cli (#1907) 2024-01-12 12:54:30 +13:00
Tim 4863253bfc add file parsing apis to cli (#1899) 2024-01-12 08:56:42 +13:00
Sebastian Lorenz 1283a32bab remove console.log in test (#1901) 2024-01-11 09:27:03 +01:00
Tim 4ef1e6f4e0 add Schema apis to cli Options & Args (#1898) 2024-01-11 15:33:07 +13:00
Tim 78fec17bf1 fix Args.optional returning Option (#1853) 2024-01-03 21:32:48 +13:00
Tim cf38149edf add Command.provideSync/provideEffect (#426) 2023-12-13 16:13:45 +13:00
Tim 997da481cf add apis for manipulating handlers (#422) 2023-12-13 11:13:00 +13:00
Maxwell Brown 90aceff19a Make help documentation print built-in options by default (#416) 2023-12-08 08:21:31 -05:00
Maxwell Brown 3f4275c88a Default CliConfig.finalCheckBuiltIn to false (#411) 2023-12-07 13:53:51 -05:00
Maxwell Brown 0bf888ede3 Remove orElse variants from Command (#409) 2023-12-06 22:21:36 -05:00
Tim c64903ddc5 update effect (#410) 2023-12-06 16:25:29 +13:00
TimandMaxwell Brown 73fdd9a42c add Args/Options.withFallbackConfig (#403)
Co-authored-by: Maxwell Brown <maxwellbrown1990@gmail.com>
2023-12-03 08:54:45 +13:00
Maxwell Brown 4af3ee64f1 Ensure error on excess args (#402) 2023-12-01 14:19:29 -05:00
Tim 037d5d5157 fix withDescription for mapped commands (#397) 2023-12-01 09:17:28 +13:00
Maxwell Brown 7587eeecfd Add final confirmation to run command during wizard mode (#395) 2023-11-30 11:01:55 -05:00
Maxwell Brown 0ff94e01a1 Refactor the internals of prompt rendering (#394) 2023-11-30 09:05:24 -05:00
TimandMaxwell Brown 1231b06feb localized handlers for commands (#390)
Co-authored-by: Maxwell Brown <maxwellbrown1990@gmail.com>
2023-11-28 23:20:28 -05:00
Maxwell Brown ef0059bf74 Fix shell completions (#387) 2023-11-26 18:46:41 -05:00
Maxwell Brown d2e8a0b204 Support multi-valued arguments appearing anywhere in arguments (#385) 2023-11-20 13:35:38 -05:00
Maxwell Brown 50f0a9e116 Implement Args.withDefault (#384) 2023-11-19 20:40:22 -05:00
Maxwell Brown d4fb9ea47d Implement support for variadic Options (#383) 2023-11-19 20:24:23 -05:00
Maxwell Brown 9695842839 Make all modules better support tree-shaking (#375) 2023-11-17 09:03:27 -05:00
Maxwell Brown a369ba5b4c Implement wizard and completions (#373) 2023-11-16 13:26:29 -05:00
Maxwell Brown 07b2358836 Fix the example CLI scripts (#366) 2023-11-11 08:54:36 -05:00
Maxwell BrownandSebastian Lorenz 1072443d98 Add support for auto-generating completions for a CLI program (#358)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
2023-11-10 13:13:42 -05:00
Sebastian Lorenz 2355782242 update build configuration and tooling (#355) 2023-11-09 08:50:30 -05:00
Maxwell Brown 6471fa86d5 Refactor library internals to fix numerous issues (#353) 2023-11-08 19:31:39 -05:00
Maxwell Brown df1c7eb60f Add support for prompt-style commands (#304) 2023-10-10 16:03:47 -04:00
Tim d3bbe45df1 update to effect package (#330) 2023-09-29 17:04:43 +13:00
Tim 3876e73103 update dependencies (#328) 2023-09-26 15:08:26 +13:00
Sebastian Lorenz c3e3a5127b make Command, Option, Args and Primitive pipeable (#316) 2023-08-04 09:57:05 +12:00
Maxwell Brown 208227fb61 Upgrade dependencies (#305) 2023-07-09 09:19:55 -04:00
Maxwell Brown 41a5cff57a Separate Options.choice and Options.choiceWithValue (#301) 2023-04-19 08:32:43 -04:00
Tim 1fe87dfbe7 variadic Options (#289) 2023-03-30 20:37:25 -04:00
Maxwell Brown e7ad376ba1 Refactor command parsing (#284) 2023-03-19 09:22:15 -04:00