update create-app usage to include optional [path] argument

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
Colton Padden
2021-10-05 09:41:38 -04:00
parent 448b3ed9fa
commit fe48f0ea95
+4 -3
View File
@@ -26,10 +26,11 @@ import { version } from '../package.json';
import createApp from './createApp';
const main = (argv: string[]) => {
program.name('backstage-create-app').version(version);
program
.description('Creates a new app in a new directory')
.name('backstage-create-app')
.version(version)
.description('Creates a new app in a new directory or specified [path]')
.usage('[path] [options]')
.option(
'--skip-install',
'Skip the install and builds steps after creating the app',