feather_cli 0.0.1-dev.3 copy "feather_cli: ^0.0.1-dev.3" to clipboard
feather_cli: ^0.0.1-dev.3 copied to clipboard

A command-line interface for the Feather UI framework, providing tools for widget development, code generation, and project management.

feather_cli #

A command-line toolkit to install Feather UI components into your apps and assist contributions.

  • Executable: feather_cli
  • Tech: Dart CLI (args, cli_completion, mason_logger)

Getting Started ๐Ÿš€ #

Install globally from pub (when published):

dart pub global activate feather_cli

Install locally from source:

dart pub global activate --source=path <path-to-this-package>

Ensure your global pub bin is on PATH. On Linux/macOS:

export PATH="$PATH":"$HOME/.pub-cache/bin"

Usage #

Global flags:

  • --version, -v โ€” Print the current version
  • --verbose โ€” Enable verbose logging

Commands:

# Add a component by name from the registry
feather_cli add <component_name>

# Check for and install updates to feather_cli
feather_cli update

# Developer utilities (internal)
feather_cli dev --help

# Version and help
feather_cli --version
feather_cli --help

Shell Completion #

feather_cli supports shell completion via cli_completion.

# Bash/Zsh (temporary for current shell)
eval "$(feather_cli completion)"

# To make it persistent, add the above line to your shell profile (e.g., ~/.bashrc or ~/.zshrc)

Troubleshooting #

  • If feather_cli is not found, ensure your pub global bin directory is on PATH.
  • Run with --verbose to see detailed logs and executed commands.

Running Tests with Coverage ๐Ÿงช #

dart pub global activate coverage 1.2.0
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

Generate and view HTML report with lcov:

genhtml coverage/lcov.info -o coverage/
xdg-open coverage/index.html || open coverage/index.html
2
likes
150
points
14
downloads

Publisher

verified publisheraioncw.com

Weekly Downloads

A command-line interface for the Feather UI framework, providing tools for widget development, code generation, and project management.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, change_case, cli_completion, feather_core, pub_updater

More

Packages that depend on feather_cli