cliweave 0.1.0 copy "cliweave: ^0.1.0" to clipboard
cliweave: ^0.1.0 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.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.
  • CompletionScripts generates bash, zsh, fish, and PowerShell completion scripts for any executable name, and normalizes the tokens a shell hands back through resolveCompletionInputs.
  • package:cliweave/terminal.dart: levelled logger, TTY-aware spinner, and a colour theme honouring NO_COLOR, FORCE_COLOR, and CI.
  • Environment access goes through an injectable EnvLookup rather 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.

0
likes
0
points
885
downloads

Publisher

verified publishertinyrack.net

Weekly Downloads

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, spinner, and colour theme.

Repository (GitHub)
View/report issues

Topics

#cli #command-line #argument-parser #shell-completion

License

unknown (license)

More

Packages that depend on cliweave