-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add files to be created by create.
- Loading branch information
Showing
6 changed files
with
142 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
part of katana_cli; | ||
|
||
/// Contents of katana.yaml. | ||
/// | ||
/// katana_secrets.yamlの中身。 | ||
class KatanaSecretsCliCode extends CliCode { | ||
/// Contents of katana.yaml. | ||
/// | ||
/// katana_secrets.yamlの中身。 | ||
const KatanaSecretsCliCode(); | ||
|
||
@override | ||
String get name => "katana_secrets"; | ||
|
||
@override | ||
String get prefix => "katana_secrets"; | ||
|
||
@override | ||
String get directory => ""; | ||
|
||
@override | ||
String get description => | ||
"Create katana_secrets.yaml for katana_cli. katana_cli用のkatana_secrets.yamlを作成します。"; | ||
|
||
@override | ||
String import(String path, String baseName, String className) { | ||
return ""; | ||
} | ||
|
||
@override | ||
String header(String path, String baseName, String className) { | ||
return ""; | ||
} | ||
|
||
@override | ||
String body(String path, String baseName, String className) { | ||
return r""" | ||
# Describe Github secret information. | ||
# Githubのシークレット情報を記述します。 | ||
github: | ||
# Please describe the Github token. | ||
# Githubのトークンを記載してください。 | ||
token: | ||
"""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
part of katana_cli; | ||
|
||
/// Contents of katana.yaml. | ||
/// | ||
/// pubspec_overrides.yamlの中身。 | ||
class PubspecOverridesCliCode extends CliCode { | ||
/// Contents of katana.yaml. | ||
/// | ||
/// pubspec_overrides.yamlの中身。 | ||
const PubspecOverridesCliCode(); | ||
|
||
@override | ||
String get name => "pubspec_overrides"; | ||
|
||
@override | ||
String get prefix => "kapubspec_overridestana"; | ||
|
||
@override | ||
String get directory => ""; | ||
|
||
@override | ||
String get description => | ||
"Create pubspec_overrides.yaml for katana_cli. katana_cli用のpubspec_overrides.yamlを作成します。"; | ||
|
||
@override | ||
String import(String path, String baseName, String className) { | ||
return ""; | ||
} | ||
|
||
@override | ||
String header(String path, String baseName, String className) { | ||
return ""; | ||
} | ||
|
||
@override | ||
String body(String path, String baseName, String className) { | ||
return r""" | ||
dependency_overrides: | ||
"""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters