oto/lib/cli/commands/command_start.dart
leedongmyung[desktop] 6d8ace1656 코드 정리
2023-10-29 20:53:49 +09:00

34 lines
700 B
Dart

import 'dart:async';
import 'package:oto_cli/cli/commands/command_base.dart';
import 'package:dart_framework/utils/system_util.dart';
class CommandStart extends CommandBase {
@override
String get name => 'start';
@override
Future execute(List<String> parameters) {
return simpleFuture;
}
@override
String getDescription() {
return ':::: Run as a service on the background.';
}
}
class CommandStop extends CommandBase {
@override
String get name => 'stop';
@override
Future execute(List<String> parameters) {
return simpleFuture;
}
@override
String getDescription() {
return ':::: Shut down the service currently running on the background.';
}
}