Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomfang3 committed Oct 21, 2022
1 parent 2a4173c commit 283aba5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ Welcome to the IronLauncher! A quick start for your JavaScript applications.
1. Run the CLI using

```sh
npx ironlauncher@latest # <your-app-name> + flag(s)
npx ironlauncher-ejs@latest # <your-app-name> + flag(s)
```

## Help

If you want to see the flags and options you can always run one of these commands:

```sh
npx ironlauncher@latest help
npx ironlauncher-ejs@latest help
# or
npx ironlauncher@latest --help
npx ironlauncher-ejs@latest --help
```

---
Expand All @@ -37,29 +37,29 @@ npx ironlauncher@latest --help
- :arrow_down: This will result in an Express application with Ejs setup:

```sh
npx ironlauncher@latest new-app
npx ironlauncher-ejs@latest new-app
```

<br>

- :arrow_down: This will result in an Express application with Ejs setup with basic authentication set up for you:

```sh
npx ironlauncher new-app --auth
npx ironlauncher-ejs@latest new-app --auth
```

:star: :star: :star: **You can add the `--auth` flag to any other flag and it will setup the basic authentication for the other options as well.**

- :arrow_down: This will result in an Express **API** without any view layer:

```sh
npx ironlauncher@latest new-app --json
npx ironlauncher-ejs@latest new-app --json
```

- :arrow_down: This will result in a CRA (Create React App) and Express setup, where there is already connection between them:

```sh
npx ironlauncher@latest new-app --fs
npx ironlauncher-ejs@latest new-app --fs
```

<br>

0 comments on commit 283aba5

Please sign in to comment.