bin/jadb: split
This commit is contained in:
23
lib/cli/args.dart
Normal file
23
lib/cli/args.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:args/args.dart';
|
||||
|
||||
void addLibsqliteArg(ArgParser argParser) {
|
||||
argParser.addOption(
|
||||
'libsqlite',
|
||||
help:
|
||||
'Path to the SQLite library. This is used to load the SQLite library dynamically.',
|
||||
valueHelp: 'PATH',
|
||||
defaultsTo: Platform.environment['LIBSQLITE_PATH'],
|
||||
);
|
||||
}
|
||||
|
||||
void addJadbArg(ArgParser argParser) {
|
||||
argParser.addOption(
|
||||
'jadb',
|
||||
abbr: 'f',
|
||||
help: 'Path to the SQLite database file.',
|
||||
valueHelp: 'PATH',
|
||||
defaultsTo: Platform.environment['JADB_PATH'],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user