Commit Graph
109 Commits
Author SHA1 Message Date
Vincent François aa1fa5301e Add number round (#3533) 2024-09-16 11:05:49 +12:00
Michael Arnaldi 4d96d03548 Update to TS 5.6 (#3579) 2024-09-10 09:43:29 +02:00
Maxwell Brown 06989e9969 Ensure QuitException terminates command-line processing (#3569) 2024-09-07 10:20:54 -04:00
Maxwell Brown 2df49c44ee Add Options.withFallbackPrompt to CLI (#3561) 2024-09-07 07:36:56 -04:00
Christopher DierkensandMaxwell Brown 8e64b1a6ed Renders the default for all Prompt types that accepts TextOptions. (#3508)
Co-authored-by: Maxwell Brown <maxwellbrown1990@gmail.com>
2024-08-28 20:19:58 -04:00
Christopher Dierkens 72dd53566a fix: respect the default for a text prompt (#3466) 2024-08-18 15:07:38 -04:00
Sebastian LorenzandTim 7d02174af3 adjusted various function signatures to return Array (#3340)
Co-authored-by: Tim <hello@timsmart.co>
2024-07-30 16:20:48 +12:00
Tim 3eb8c4789c Revert "Release queue: minor" (#3379) 2024-07-30 16:17:02 +12:00
+2 9c058c9833 Release queue: minor (#3248)
Co-authored-by: ecyrbe <ecyrbe@gmail.com>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
Co-authored-by: Michael Arnaldi <michael.arnaldi@effectful.co>
Co-authored-by: Dmitry <dilame@users.noreply.github.com>
Co-authored-by: Tim <hello@timsmart.co>
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Milan Suk <Milansuk@email.cz>
Co-authored-by: Vincent François <vincent.francois@inato.com>
Co-authored-by: Tim Smart <tim.smart@arisechurch.com>
Co-authored-by: Maxim Khramtsov <khraks.mamtsov@gmail.com>
Co-authored-by: maksim.khramtsov <maksim.khramtsov@btsdigital.kz>
2024-07-30 16:14:18 +12:00
Maxwell Brown c8f8690585 Improve the JSDoc for Prompt.all (#3332) 2024-07-24 09:09:08 -04:00
Maxwell Brown b8e3ab6739 Support record argument in Prompt.all (#3329) 2024-07-24 08:26:48 -04:00
David Novakovic 51e9c5c87f feat: allow equals sign in aliased parameter values. (#2755) 2024-07-16 20:24:33 -04:00
Maxwell Brown 749b90345f Ensure file selector prompts can traverse parent directories (#3167) 2024-07-04 07:48:19 -04:00
Maxwell Brown 51bb7d5677 Add Prompt.file to support path-based options in the CLI's --wizard mode (#3153) 2024-07-03 13:24:25 -04:00
Maxwell Brown fcb7411be7 Adds a --log-level built-in option to all commands (#3107) 2024-06-28 20:03:07 -04:00
Maxwell Brown 0cb3e9de39 Ensure help documentation always respects the cli configuration (#3106) 2024-06-27 10:24:06 -04:00
Giulio Canti f6c79772e6 Schema: version 0.68.0 (#2906) 2024-06-17 15:14:25 +02:00
67f160a213 Introduce Redacted<T> module (#2856)
Co-authored-by: maksim.khramtsov <maksim.khramtsov@btsdigital.kz>
Co-authored-by: Tim <hello@timsmart.co>
2024-06-06 22:10:40 +12:00
Lukas Heinze 61e8edbf95 fix print to stdout of cli (#1812) (#2920) 2024-06-05 14:49:12 -04:00
Ricardo Valero de la Rosa 70001732f4 display a nicer message in the cli wizard when using Option (#2847) 2024-05-24 22:39:22 -04:00
Tim 8edacca37f prevent use of Array as import name to solve bundler issues (#2555) 2024-04-18 13:46:36 +12:00
Sebastian Lorenz 78b767c2b1 Rename ReadonlyArray and ReadonlyRecord modules (#2529) 2024-04-16 21:28:46 +12:00
Tim 5a2314b70e replace use of unit terminology with void (#2476) 2024-04-16 09:41:49 +02:00
Giulio Canti bded4f023e Schema: consolidate schema names (#2497) 2024-04-15 15:53:39 +02:00
Giulio Canti b3acf47f9c Schema: next minor (#2440) 2024-04-09 14:56:58 +02:00
Tim 63f83722b1 remove use of __proto__ (#2352) 2024-03-18 13:04:36 +13:00
Alexander Pankoff 89b5d1c4bb CLI: Print unknown argument errors (#2252) 2024-03-05 10:11:20 -05:00
Alexander Pankoff 0c2da75f49 Remove duplicate word in wizard mode prompt (#2240) 2024-03-01 15:48:22 -05:00
Michael Arnaldi 14c5711007 Remove Effect.unified and Effect.unifiedFn in favour of Unify.unify (#2158) 2024-02-21 14:48:18 +01:00
Michael ArnaldiandMaxwell Brown a025b12123 Swap Either type params (#2102)
Co-authored-by: Maxwell Brown <maxwellbrown1990@gmail.com>
2024-02-21 14:48:18 +01:00
Maxwell Brown bbb097b767 Fix wizard mode to show root command name instead of executable (#2175) 2024-02-18 21:20:41 +01:00
Maxwell Brown cbd1a5a3c4 Fix the root command name in generated shell completion scripts (#2173) 2024-02-18 14:51:23 +13:00
Giulio Canti 60686f5c38 change Layer type parameters order from Layer<RIn, E, ROut> to Layer<ROut, E = never, RIn = never> (#2044) 2024-02-09 16:51:47 +13:00
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
Michael Arnaldi 02c34615d0 feat: Make Equal an implicit trait, namely remove the type Data.Data (#2023) 2024-02-09 16:51:47 +13:00
Giulio Canti a34dbdc155 Schema: change type parameters order from Schema<R, I, A> to Schema<A, I = A, R = never> (#2026) 2024-02-09 16:51:47 +13:00
Tim eb1f7878c9 make array types in cli more permissive (#2047) 2024-02-06 17:58:27 +01: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 003bb691f2 Fix stack overflow exception when nesting cli options / args in a Command config (#1990) 2024-01-27 07:52:56 +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 9cf3782a17 Fix CLI argument parsing to properly handle when a repeated option is not provided (#1980) 2024-01-26 09:05:41 +13:00
62b40e8479 add context tracking to Schema, closes #1873, #1954, #1956 (#1922)
Co-authored-by: Tim <hello@timsmart.co>
Co-authored-by: Tim Smart <tim.smart@arisechurch.com>
2024-01-24 12:01:44 +01:00
Maxwell Brown de4cb049a3 Fix the parsed letter case for variadic and key/value CLI flags (#1963) 2024-01-24 07:57:04 +13:00
Tim d21e028fe2 fix Options.mapEffect export (#1942) 2024-01-18 10:57:26 +13: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
Tim 4ef1e6f4e0 add Schema apis to cli Options & Args (#1898) 2024-01-11 15:33:07 +13:00