cli_info_builder 1.0.1 copy "cli_info_builder: ^1.0.1" to clipboard
cli_info_builder: ^1.0.1 copied to clipboard

A package that provides a builder to generate a class to pack information about a Dart CLI application.

example/lib/example.dart

import 'package:example/gen/info.dart';

void printCliInfo() {
  final text = '''
CLI Information:
- name: ${cliInfo.name}
- description: ${cliInfo.description}
- version: ${cliInfo.version}
''';
  print(text);
}
0
likes
140
pub points
7%
popularity

Publisher

verified publisherblendthink.dev

A package that provides a builder to generate a class to pack information about a Dart CLI application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

build, build_config, dart_style, yaml

More

Packages that depend on cli_info_builder