cli: Add config instructions to create-github-app command

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-04-20 11:38:32 +02:00
parent 71278da304
commit 97cce67ac7
2 changed files with 16 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Add instructions to `create-github-app` command.
@@ -35,5 +35,15 @@ export default async (org: string) => {
'This file contains sensitive credentials, it should not be committed to version control and handled with care!',
),
);
// TODO: log instructions on how to use the newly created app configuration.
console.log(
"Here's an example on how to update the integrations section in app-config.yaml",
);
console.log(
chalk.green(`
integrations:
github:
- host: github.com
apps:
- $include: ${fileName}`),
);
};