diff --git a/lib/cli/commands/command_install.dart b/lib/cli/commands/command_install.dart index 6e0bbcd..8d11013 100644 --- a/lib/cli/commands/command_install.dart +++ b/lib/cli/commands/command_install.dart @@ -34,9 +34,9 @@ class CommandInstall extends CommandBase { //Create startup await OSStartup.registStartup(installFilePath, label, arguments: ['start']); - printOut('Installed successfully.', PrintType.information); + printOut('Successfully installed.', PrintType.information); } else { - printOut('Installation failed because it is already installed.', + printOut('Installation failed because it was already installed', PrintType.error); } return simpleFuture; @@ -45,7 +45,7 @@ class CommandInstall extends CommandBase { @override String getDescription() { var serviceName = CLI.current.config.serviceName; - return 'Install "$serviceName" to run in the background as a startup program.'; + return ':::: Install for the startup program to run on the background.'; } } @@ -72,15 +72,16 @@ class CommandUninstall extends CommandBase { //Remove startup await OSStartup.unregistStartup(label); - printOut('Uninstalled successfully.', PrintType.information); + printOut('Successfully removed.', PrintType.information); } else { - printOut('It is already uninstalled.', PrintType.warning); + printOut("It's already been uninstalled.", PrintType.warning); } return c.future; } @override String getDescription() { - return 'Delete it from Startup.'; + // ignore: prefer_interpolation_to_compose_strings + return ':::: Delete from the startup program and remove the file.'; } } diff --git a/lib/cli/commands/command_start.dart b/lib/cli/commands/command_start.dart index 53e3faa..9b13eee 100644 --- a/lib/cli/commands/command_start.dart +++ b/lib/cli/commands/command_start.dart @@ -1,6 +1,5 @@ import 'dart:async'; -import 'package:oto_cli/cli/cli.dart'; import 'package:oto_cli/cli/commands/command_base.dart'; import 'package:dart_framework/utils/system_util.dart'; @@ -15,7 +14,7 @@ class CommandStart extends CommandBase { @override String getDescription() { - return 'Run the program as a background service.'; + return ':::: Run as a service on the background.'; } } @@ -30,6 +29,6 @@ class CommandStop extends CommandBase { @override String getDescription() { - return 'Exit the "${CLI.serviceName}" currently running in the background.'; + return ':::: Shut down the service currently running on the background.'; } } diff --git a/lib/cli/commands/command_template.dart b/lib/cli/commands/command_template.dart index 0f46a6f..fea5a38 100644 --- a/lib/cli/commands/command_template.dart +++ b/lib/cli/commands/command_template.dart @@ -26,6 +26,6 @@ class CommandTemplate extends CommandBase { @override String getDescription() { var serviceName = CLI.current.config.serviceName; - return 'This is template command description from $serviceName.'; + return ':::: This is template command description from $serviceName.'; } }