mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
23 lines
626 B
Dart
23 lines
626 B
Dart
import 'package:args/command_runner.dart';
|
|
|
|
import 'commands/build.dart';
|
|
import 'commands/credits.dart';
|
|
import 'commands/install-dependencies.dart';
|
|
import 'commands/translated.dart';
|
|
import 'commands/untranslated.dart';
|
|
|
|
void main(List<String> args) {
|
|
final commandRunner = CommandRunner(
|
|
"cli",
|
|
"Configuration CLI for Spotube",
|
|
);
|
|
|
|
commandRunner.addCommand(InstallDependenciesCommand());
|
|
commandRunner.addCommand(BuildCommand());
|
|
commandRunner.addCommand(CreditsCommand());
|
|
commandRunner.addCommand(TranslatedCommand());
|
|
commandRunner.addCommand(UntranslatedCommand());
|
|
|
|
commandRunner.run(args);
|
|
}
|