NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2805 most downloaded on pub.dev
This tool is perfect for creating console apps, offering widgets for Console elements, input handling, Help generation, argument events, and option configuration
Last release 10 days ago
28 Sep 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 15 of 15 stable releases
2 versions withdrawn
withdrawn after publishing
2 years old
17 releases · first in 2024
One column per month.
Added CappConsole.progressPercent, a progress widget for actions that can report their own completion percentage (e.g. downloads, uploads, multi-step
CappConsole.progressPercent, a progress widget for actions that can report their own completion percentage (e.g. downloads, uploads, multi-step builds). The action receives a CappProgressReporter to update the percentage and/or the message shown above the bar at any moment, with a configurable color (defaults to green) and bar width.example/example.dart, example/example_app.dart (test:install), and example/example_chain.dart (build) with distinct demonstrations of progressPercent.writeHelpModern groups namespaced sub-commands test, which captured output via runZoned's print override while writeHelpModern writes through Cout; it now uses CappManager.addOnWrite/removeOnWrite to capture the real output.Added CappProgressType.puzzle and a matching puzzle-style spinner to CappConsole.progress, with example/example.dart updated to demonstrate the new an
CappProgressType.puzzle and a matching puzzle-style spinner to CappConsole.progress, with example/example.dart updated to demonstrate the new animation.CappManager.addOnWrite and removeOnWrite, backed by the new Cout helper, so console output can be observed or captured without changing the normal terminal flow.Cout, keeping interactive prompts, alerts, progress bars, and command output consistent while enabling output listeners.writeHelpModern now groups namespaced sub-commands: a controller named namespace:subcommand (e.g. test:subtest, called exactly as test:subtest -i=5) i
writeHelpModern now groups namespaced sub-commands: a controller named namespace:subcommand (e.g. test:subtest, called exactly as test:subtest -i=5) is displayed nested under its namespace header instead of being listed as an unrelated top-level command. The command name and its description are now printed on the same line (name in bold green, description in yellow) instead of on two separate lines.example/example_app.dart entries (test:subtest, test:report) demonstrating namespaced sub-commands.CappConsole.writeAlert to print a message as a boxed, colored alert (info/success/warning/error) with a severity icon, wrapping long messages to fit the terminal width.example/example.dart "Alert" option and tests demonstrating writeAlert.Added example/example_chain.dart demonstrating the new command chaining feature.
--and between commands (e.g. test -p hello --and help --and exit) to run several commands, one after another, in a single invocation. Works for the initial CLI arguments as well as for lines typed at the interactive prompt (both line mode and raw mode). Before each next command runs, a Next command: ... message is printed. --and is only used as a separator, it's never forwarded to controllers/options and never appears in the generated help.example/example_chain.dart demonstrating the new command chaining feature.CappManager, CappConsole, and CappOption, plus integration tests that spawn the example apps to verify one-shot argument processing, interactive stdin sessions, and command chaining end-to-end.Added dynamic appLabel parameter to processWhile (replaces deprecated promptLabel), allowing prompt labels that update on each iteration (e.g., showin…
CappManager, allowing navigation through previously entered commands using arrow keysonKeyPress callback to CappManager for handling raw mode key events, enabling custom key bindingsappLabel parameter to processWhile (replaces deprecated promptLabel), allowing prompt labels that update on each iteration (e.g., showing current time)removeCommandBar and addToCommandBar static methods to CappConsole for manipulating the command bar text in raw modeeventListen method to CappConsole for stdin event listeningexample_app.dart to demonstrate command history navigation and dynamic prompt labelsAdded resetValue method to CappOption to reset the option's value to its default value and set existsInArgs to false. This allows for easier reuse of
resetValue method to CappOption to reset the option's value to its default value and set existsInArgs to false. This allows for easier reuse of options across multiple command executions without retaining previous values, ensuring that each command starts with a clean slate for its options. The resetValue method is called in the CappManager before processing each command to ensure that options are reset before being populated with new values from the command arguments.Added onSelect callback to CappOption to allow executing a function when an option is selected, even if it doesn't have a command associated with it.
onSelect callback to CappOption to allow executing a function when an option is selected, even if it doesn't have a command associated with it. This is useful for options that are meant to trigger an action without requiring additional input, such as displaying help or toggling a setting.Full Changelog : 1.1.4...1.1.5
Full Changelog: 1.1.4...1.1.5
Added _readKey method to handle key inputs
_readKey method to handle key inputs= in the _findOptionValue method, allowing options to be passed as --option=value or -o=valuewriteHelpModern method to display help in a more modern and colorful way using ANSI escape codesprocessWhile by pressing the 'q' key, allowing users to exit the command processing loop gracefully while still receiving new commandsNothing published for this version
Added processWhile to keep the app running while receiving new commands, check example_app.dart
processWhile to keep the app running while receiving new commands, check example_app.dart- Fixes #1 warning color
- Added Json View - Added Menu View - Added Multi Choice View
- Fixed bug
- Added Progress timer
- Fixed bug - Added documentation - Added example
- Deploy Capp package to pub
Your coding agent can read these notes before it upgrades. Set up the MCP server →