From 8e1020a4540ed6bdaf62795a88de848d75eb7e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Wed, 12 Aug 2020 15:19:01 +0200 Subject: [PATCH] docs(cli): can't create-app with the cli anymore --- packages/cli/README.md | 6 +++--- packages/create-app/package.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/cli/README.md b/packages/cli/README.md index 373d0d1073..8868e699c8 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -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 `. For example `yarn start create-app --help`. +To run the cli in watch mode, use `yarn start `. 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 diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 56bcfc488a..6a1a3b60b5 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -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",