oto/lib/cli/commands/command_template.dart
toki e865f7dc8b Internalize dart_framework: remove external git dependency
- Copy all used dart_framework files into lib/framework/
- Replace all package:dart_framework/ imports with package:oto_cli/framework/
- Add yaml, archive, ftpconnect as explicit direct dependencies
- Remove dart_framework git dependency from pubspec.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 11:20:27 +09:00

31 lines
801 B
Dart

import 'dart:async';
import 'package:oto_cli/framework/utils/system_util.dart';
import 'package:oto_cli/cli/cli.dart';
import 'package:oto_cli/cli/commands/command_base.dart';
class CommandTemplate extends CommandBase {
@override
Map<String, List<String>> get arguments => {
"--s": [
"This is argument description template",
"This is second line."
],
"--g": ["Second argument"]
};
@override
String get name => 'template';
@override
String get usage => '--arg0 --arg1';
@override
Future execute(List<String> parameters) async {
return simpleFuture;
}
@override
String getDescription() {
var serviceName = CLI.current.config.serviceName;
return ':::: This is template command description from $serviceName.';
}
}