cockpit 3.0.10 copy "cockpit: ^3.0.10" to clipboard
cockpit: ^3.0.10 copied to clipboard

Production E2E automation CLI, daemon, MCP, drivers, and reports for Flutter and black-box apps.

example/main.dart

import 'dart:io';

import 'package:cockpit/cockpit.dart';

Future<void> main(List<String> args) async {
  final runner = CockpitCommandRunner();
  if (args.isNotEmpty) {
    exitCode = await runner.run(args);
    return;
  }

  stdout.writeln('Cockpit host tooling example');
  stdout.writeln('');
  stdout.writeln('Cockpit 3.0 fast path:');
  stdout.writeln('  cockpit dev start');
  stdout.writeln('  cockpit dev status');
  stdout.writeln('  cockpit dev inspect');
  stdout.writeln('  cockpit dev screenshot');
  stdout.writeln('  cockpit case list');
  stdout.writeln('  cockpit_mcp');
  stdout.writeln('');
  stdout.writeln(
    'This example can also proxy arguments into CockpitCommandRunner:',
  );
  stdout.writeln('  dart run example/main.dart daemon status');
}
1
likes
0
points
899
downloads

Documentation

Documentation

Publisher

verified publisherfluttercandies.com

Weekly Downloads

Production E2E automation CLI, daemon, MCP, drivers, and reports for Flutter and black-box apps.

Repository (GitHub)
View/report issues

Topics

#flutter #cli #tooling #ai #mcp

License

unknown (license)

Dependencies

args, cockpit_protocol, collection, crypto, dart_mcp, ffi, file, http, image, json_schema, lon, path, process, pub_semver, source_span, stream_channel, vm_service, xml, yaml, yaml_edit

More

Packages that depend on cockpit