Merge pull request #1931 from spotify/freben/no-cli-create

docs(cli): can't create-app with the cli anymore
This commit is contained in:
Fredrik Adelöw
2020-08-13 14:28:16 +02:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -20,12 +20,12 @@ $ yarn add @backstage/cli
For local development the cli can be used directly, even from other packages in this repo. The `bin/backstage-cli` entrypoint contains a switch that will load the implementation from the `src` directory when executed inside this repo.
To run the cli in watch mode, use `yarn start <args>`. For example `yarn start create-app --help`.
To run the cli in watch mode, use `yarn start <args>`. For example `yarn start lint --help`.
To try out the `create-app` command locally, you can execute the following from the parent directory of this repo:
To try out the command locally, you can execute the following from the parent directory of this repo:
```bash
./backstage/packages/cli/bin/backstage-cli create-app
./backstage/packages/cli/bin/backstage-cli --help
```
## Documentation
+3 -1
View File
@@ -22,7 +22,9 @@
},
"scripts": {
"build": "backstage-cli build --outputs cjs",
"lint": "backstage-cli lint"
"lint": "backstage-cli lint",
"clean": "backstage-cli clean",
"start": "nodemon --"
},
"dependencies": {
"@backstage/cli-common": "^0.1.1-alpha.18",