diff --git a/lib/cli/cli.dart b/lib/cli/cli.dart index e20f6b2..6cc6433 100644 --- a/lib/cli/cli.dart +++ b/lib/cli/cli.dart @@ -252,12 +252,12 @@ class _PrinterUnix extends Printer { Future printCLI(List printList) async { var c = Completer(); StringBuffer message = StringBuffer(); - message.writeln("echo -e '"); + message.writeln('echo -e "'); for (var item in printList) { message.writeln(item); } - message.write("'"); + message.write('"'); var temp = await getTempFile(message.toString(), 'sh'); await Process.run('zsh', [temp.path]).then((ProcessResult result) { diff --git a/lib/cli/commands/command_exe.dart b/lib/cli/commands/command_exe.dart index 7daefb1..189e360 100644 --- a/lib/cli/commands/command_exe.dart +++ b/lib/cli/commands/command_exe.dart @@ -10,8 +10,8 @@ class CommandExe extends CommandBase { @override Map> get arguments => { '-j': ["Used when it's a Jenkins build."], - '-f {file path}': ["Run the yaml file to process."], - '-t': ["This is the setup for testing."] + '-t': ["This is the setup for testing."], + '-f {file path}': ["Run the yaml file to process."] }; @override String get name => 'exe'; diff --git a/lib/oto/command.dart b/lib/oto/command.dart index f26b416..30d2cda 100644 --- a/lib/oto/command.dart +++ b/lib/oto/command.dart @@ -1,3 +1,5 @@ +// ignore_for_file: constant_identifier_names + import 'dart:async'; import 'package:oto_cli/oto/application.dart'; import 'package:oto_cli/oto/build/app_data_creator.dart'; diff --git a/lib/oto/test_data.dart b/lib/oto/test_data.dart index c572439..7f9256f 100644 --- a/lib/oto/test_data.dart +++ b/lib/oto/test_data.dart @@ -1,5 +1,6 @@ import 'dart:convert'; import 'dart:io'; +// ignore: depend_on_referenced_packages import 'package:yaml/yaml.dart' as yaml; import 'package:oto_cli/oto/build/build_flutter.dart';