chassis_forge 3.0.0 copy "chassis_forge: ^3.0.0" to clipboard
chassis_forge: ^3.0.0 copied to clipboard

Chassis Forge is a foundation for building modern CLI apps and tools to help with project automation and other various tasks.

example/main.dart

import 'package:chassis_forge/chassis_forge.dart';
import 'package:smart_arg_fork/smart_arg_fork.dart';

import 'ag_jq_pipe.dart';
import 'analyze.dart';
import 'deps.dart';
import 'docs.dart';
import 'format.dart'; // ignore: unused_import
import 'main.reflectable.dart';
import 'pipe.dart';

@SmartArg.reflectable
@Parser(
  description: 'Dart Chassis Forge Project Helper Tools',
)
class ExampleForge extends ChassisForge with HelpArg, VerboseArg {
  @Command()
  late AnalyzeCommand analyze;

  @Command()
  late DocsCommand docs;

  @Command()
  late DepsCommand deps;

  @Command()
  late FormatCommand format;

  @Command()
  late ExampleForge nested;

  @Command()
  late PipeCommand pipe;

  @Command()
  late AgJqPipeCommand agJq;
}

Future<void> main(List<String> arguments) async {
  initializeReflectable();
  var forge = ExampleForge();
  await forge.runWith(arguments);
}
3
likes
140
points
85
downloads

Publisher

verified publisheraxrs.dev

Weekly Downloads

Chassis Forge is a foundation for building modern CLI apps and tools to help with project automation and other various tasks.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

args, glob, logging, path, process_run, reflectable, smart_arg_fork

More

Packages that depend on chassis_forge