25 lines
668 B
Dart
25 lines
668 B
Dart
import 'package:oto_cli/cli/cli.dart';
|
|
import 'package:oto_cli/cli/commands/command_template.dart';
|
|
import 'package:oto_cli/cli/commands/command_install.dart';
|
|
import 'package:oto_cli/cli/commands/command_exe.dart';
|
|
import 'package:oto_cli/cli/commands/command_start.dart';
|
|
|
|
void main(List<String> arguments) async {
|
|
CLI.initialize('OTO', arguments, [
|
|
CommandTemplate(),
|
|
CommandInstall(),
|
|
CommandUninstall(),
|
|
CommandExe(),
|
|
CommandStart(),
|
|
CommandStop()
|
|
]);
|
|
|
|
// String test = '''
|
|
// Error on line 5, column 1: Expected ':'.
|
|
// ╷
|
|
// 5 │ < commands:
|
|
// │ ^
|
|
// ╵
|
|
// ''';
|
|
// await CLI.printString(test, color: Color.red);
|
|
}
|