Commit Graph
72 Commits
Author SHA1 Message Date
Tim ec2d75d3a3 Harden ConfigFile file name handling (#6755) 2026-07-29 23:02:09 +00:00
Zelys e71ba68273 fix(@effect/cli): use Ansi.blackBright for Weak spans so --help is readable on dark terminals (#6208) 2026-05-13 14:20:16 -04:00
Sedo ec5c50507b fix(cli): prevent --log-level=value from swallowing next argument (#6144) 2026-03-31 10:00:53 -04:00
Scott Trinh 118e7a4af5 Add rows and isTTY to Terminal (#5977) 2026-01-22 10:07:18 -05:00
Cristian Velasquez RamosandClaude 0d1a44fa14 fix(cli): allow options after positional arguments (#5983)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-15 21:52:21 -05:00
Emanuele Mastaglia 1b23741a3d handle executable paths with spaces in CLI arguments, close #5845 (#5853) 2025-12-15 10:29:34 -05:00
nemmtor f8273c9de1 fix log level cli arg infinite loop (#5677) 2025-11-07 09:39:16 -05:00
Mattia Manzati 775e37e8ca Remove some leftover gen adapters (#5653) 2025-10-26 20:15:00 +13:00
beeman 8a3dc9ed7e refactor: remove gen adapter function* (_) from cli tests (#5406) 2025-08-19 12:39:18 -04:00
Kit Langton 0e296f532a CLI: Support default selection in Prompt.multiSelect (#5400) 2025-08-18 14:36:18 -04:00
Kit LangtonandTim 7813640279 Fix problematic prompt pasting (#5255)
Co-authored-by: Tim <hello@timsmart.co>
2025-07-23 09:13:54 +12:00
Sebastian Lorenz 578e953e9d kill path aliases, use src exports (#4778) 2025-04-30 06:54:12 +02:00
Delusion2056 3e56745421 Fix CLI -h to display default values (#4400) (#4402) 2025-02-06 07:36:48 -05:00
Giulio CantiandSebastian Lorenz ae8518c980 refactor platform tests (#4377)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
2025-01-31 18:50:59 +01:00
Giulio Canti 507d546bd4 Schema: improve error messages for invalid transformations (#4259) 2025-01-15 11:13:55 +01:00
Sebastian LorenzandAdrian Gierakowski ea77cca4cc Use fast-check re-export (#4232)
Co-authored-by: Adrian Gierakowski <agierakowski@gmail.com>
2025-01-11 21:19:11 +01:00
Giulio Canti 199214e21c Schema: refactor annotations (#4175) 2024-12-21 10:58:39 +01:00
Joep Joosten 71f7d4ecb9 Prompt multi select (#3929) 2024-11-20 06:59:08 -05:00
Joep JoostenandJoep Joosten a619704fd4 Fix cli options repeated order (#3773)
Co-authored-by: Joep Joosten <joep@fullinfo.com>
2024-10-22 08:12:28 -07:00
Giulio Canti c79c4c1783 Merge Schema into Effect (#3772) 2024-10-22 09:34:08 +13: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
David Novakovic 51e9c5c87f feat: allow equals sign in aliased parameter values. (#2755) 2024-07-16 20:24:33 -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
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
Maxwell Brown 0dd62a7019 Remove the Render module from printer (#2378) 2024-03-26 07:10:24 -04: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
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