mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
fix: rename args
This commit is contained in:
parent
b2c13a8a6f
commit
7882159139
@ -2,9 +2,9 @@ import 'auto_l10n.dart';
|
|||||||
|
|
||||||
void main(List<String> args) {
|
void main(List<String> args) {
|
||||||
switch (args.elementAtOrNull(0)) {
|
switch (args.elementAtOrNull(0)) {
|
||||||
case "gen":
|
case "l10n_gen":
|
||||||
return AutoL10nTools().genL10nFiles();
|
return AutoL10nTools().genL10nFiles();
|
||||||
case "replace":
|
case "l10n_replace":
|
||||||
return AutoL10nTools().replaceL10nFiles();
|
return AutoL10nTools().replaceL10nFiles();
|
||||||
default:
|
default:
|
||||||
throw Exception("cmd not found");
|
throw Exception("cmd not found");
|
||||||
|
Loading…
Reference in New Issue
Block a user