exec method
Run command.
The contents of katana.yaml and the arguments of the command are passed to context.
コマンドを実行します。
contextにkatana.yamlの内容やコマンドの引数が渡されます。
Implementation
@override
Future<void> exec(ExecContext context) async {
label("Generate localize.base.yaml");
await const LocalizeYamlCliCode().generateFile("localize.base.yaml");
if (!File("localize.app.yaml").existsSync()) {
label("Generate localize.app.yaml");
await const AppLocalizeYamlCliCode().generateFile("localize.app.yaml");
}
}