ast_explorer_cli 0.2.0 copy "ast_explorer_cli: ^0.2.0" to clipboard
ast_explorer_cli: ^0.2.0 copied to clipboard

A Command-Line Interface for explorer flutter/dart simplified ast.

Ast explorer cli #

Pub Version Pub Points License: MIT

A Command-Line Interface for explorer flutter/dart simplified ast.

The goal is to have the type, name, value, offset and end in the file.


Getting Started ๐Ÿš€ #

If the CLI application is available on pub, activate globally via:

dart pub global activate ast_explorer_cli
copied to clipboard

Usage #

# Check unused translations
ast_explorer tree <folder-of-app>
copied to clipboard

Running locally #

dart pub global activate --source=path . && ast_explorer tree example/main.dart
copied to clipboard

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

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

To view the generated coverage report you can use lcov.

# Generate Coverage Report
genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
open coverage/index.html
copied to clipboard

Build version #

dart run build_runner build
copied to clipboard

Generated by the Very Good CLI ๐Ÿค–

2
likes
150
points
64
downloads

Publisher

verified publisherlsaudon.fr

Weekly Downloads

2024.08.09 - 2025.02.21

A Command-Line Interface for explorer flutter/dart simplified ast.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, cli_completion, collection, equatable, file, mason_logger, path, pub_updater

More

Packages that depend on ast_explorer_cli