mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-02-04 07:52:55 +00:00
19 lines
612 B
Dart
19 lines
612 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);
|
|
}
|