Browse Source

Updated the generated assets

tags/v8.0.0
Cédric Belin 1 month ago
parent
commit
0340b90f73
3 changed files with 22 additions and 24 deletions
  1. +0
    -2
      .editorconfig
  2. +21
    -21
      lib/src/cli.g.dart
  3. +1
    -1
      lib/src/version.dart

+ 0
- 2
.editorconfig View File

@@ -5,8 +5,6 @@ root = true
charset = utf-8
indent_style = tab
insert_final_newline = true
max_line_length = 200
quote_type = double
tab_width = 2
trim_trailing_whitespace = true



+ 21
- 21
lib/src/cli.g.dart View File

@@ -7,31 +7,31 @@ part of where.cli;
// **************************************************************************

Options _$parseOptionsResult(ArgResults result) => Options()
..all = result["all"] as bool
..help = result["help"] as bool
..rest = result.rest
..silent = result["silent"] as bool
..version = result["version"] as bool;
..all = result['all'] as bool
..help = result['help'] as bool
..rest = result.rest
..silent = result['silent'] as bool
..version = result['version'] as bool;

ArgParser _$populateOptionsParser(ArgParser parser) => parser
..addFlag("all",
abbr: "a",
help:
"List all instances of executables found (instead of just the first one).",
negatable: false)
..addFlag("help",
abbr: "h", help: "Output usage information.", negatable: false)
..addFlag("silent",
abbr: "s",
help:
"Silence the output, just return the exit code (0 if any executable is found, otherwise 1).",
negatable: false)
..addFlag("version",
abbr: "v", help: "Output the version number.", negatable: false);
..addFlag('all',
abbr: 'a',
help:
'List all instances of executables found (instead of just the first one).',
negatable: false)
..addFlag('help',
abbr: 'h', help: 'Output usage information.', negatable: false)
..addFlag('silent',
abbr: 's',
help:
'Silence the output, just return the exit code (0 if any executable is found, otherwise 1).',
negatable: false)
..addFlag('version',
abbr: 'v', help: 'Output the version number.', negatable: false);

final _$parserForOptions = _$populateOptionsParser(ArgParser());

Options parseOptions(List<String> args) {
final result = _$parserForOptions.parse(args);
return _$parseOptionsResult(result);
final result = _$parserForOptions.parse(args);
return _$parseOptionsResult(result);
}

+ 1
- 1
lib/src/version.dart View File

@@ -1,2 +1,2 @@
// Generated code. Do not modify.
const packageVersion = "7.0.0";
const packageVersion = '7.0.0';

Loading…
Cancel
Save