cliweave 0.1.1
cliweave: ^0.1.1 copied to clipboard
A typed CLI framework: command routing, argument scanning with kebab/camel aliasing, did-you-mean suggestions, rendered help, structured exit codes, shell-completion proposals, and a terminal logger, [...]
Changelog #
0.1.1 #
- Patch release to verify automated pub.dev publishing from GitHub Actions using OIDC. There are no API or runtime behavior changes.
0.1.0 #
- Initial extraction from the dotweave CLI, where this code has been in production use.
package:cliweave/cliweave.dart: command and route-map builders, flag and positional parameters, argument scanning with kebab/camel aliasing and did-you-mean suggestions, help rendering, structured exit codes, and completion proposals.CompletionScriptsgenerates bash, zsh, fish, and PowerShell completion scripts for any executable name, and normalizes the tokens a shell hands back throughresolveCompletionInputs.package:cliweave/terminal.dart: levelled logger, TTY-aware spinner, and a colour theme honouringNO_COLOR,FORCE_COLOR, andCI.- Environment access goes through an injectable
EnvLookuprather than a global, so consumers can supply their own view of the environment.
Initial public release. The API is expected to change before 1.0.