Skip to content

Commit 1531118

Browse files
committed
feat(rstack): add declarative CLI help renderer
1 parent b39de82 commit 1531118

30 files changed

Lines changed: 313 additions & 144 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ Rstack CLI brings the Rstack toolchain together for JavaScript development, with
1212

1313
It also covers local development needs outside Rstack's scope, with Prettier formatting and lint-staged commands.
1414

15-
| Command | Description |
16-
| --------------------------------------------------- | -------------------------------- |
17-
| [`rs dev`](https://rstack.rs/guide/cli/dev) | Run the app dev server |
18-
| [`rs build`](https://rstack.rs/guide/cli/build) | Build the app for production |
19-
| [`rs preview`](https://rstack.rs/guide/cli/preview) | Preview the app production build |
20-
| [`rs test`](https://rstack.rs/guide/cli/test) | Run tests |
21-
| [`rs lint`](https://rstack.rs/guide/cli/lint) | Lint code |
22-
| [`rs fmt`](https://rstack.rs/guide/cli/fmt) | Format code |
23-
| [`rs check`](https://rstack.rs/guide/cli/check) | Run static checks |
24-
| [`rs lib`](https://rstack.rs/guide/cli/lib) | Build library |
25-
| [`rs doc`](https://rstack.rs/guide/cli/doc) | Serve or build docs |
26-
| [`rs setup`](https://rstack.rs/guide/cli/setup) | Install Git hooks |
27-
| [`rs staged`](https://rstack.rs/guide/cli/staged) | Run tasks on staged Git files |
15+
| Command | Description |
16+
| --------------------------------------------------- | -------------------------------------------- |
17+
| [`rs dev`](https://rstack.rs/guide/cli/dev) | Run the app dev server |
18+
| [`rs build`](https://rstack.rs/guide/cli/build) | Build the app for production |
19+
| [`rs preview`](https://rstack.rs/guide/cli/preview) | Preview the app production build |
20+
| [`rs test`](https://rstack.rs/guide/cli/test) | Run tests |
21+
| [`rs lint`](https://rstack.rs/guide/cli/lint) | Lint code |
22+
| [`rs fmt`](https://rstack.rs/guide/cli/fmt) | Format code |
23+
| [`rs check`](https://rstack.rs/guide/cli/check) | Run static checks, including lint and format |
24+
| [`rs lib`](https://rstack.rs/guide/cli/lib) | Build library |
25+
| [`rs doc`](https://rstack.rs/guide/cli/doc) | Serve or build docs |
26+
| [`rs setup`](https://rstack.rs/guide/cli/setup) | Install Git hooks |
27+
| [`rs staged`](https://rstack.rs/guide/cli/staged) | Run tasks on staged Git files |
2828

2929
Rstack CLI fits into your existing project workflow. It does not replace your runtime, package manager, or task runner, such as [pnpm](https://github.com/pnpm/pnpm), [Bun](https://github.com/oven-sh/bun), [Turborepo](https://github.com/vercel/turborepo), [Nx](https://github.com/nrwl/nx), and [Nub](https://github.com/nubjs/nub).
3030

‎packages/create-rstack/template-common/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the app for production.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Run the app dev server.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-doc-i18n/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the documentation site for production.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Start the documentation dev server.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-doc/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the documentation site for production.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Start the documentation dev server.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-node-ts/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-node/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-react-ts/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-react/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-solid-ts/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

‎packages/create-rstack/template-lib-solid/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the dependencies:
1111
## Scripts
1212

1313
- `{{ packageManager }} run build`: Build the library.
14-
- `{{ packageManager }} run check`: Run static checks, including linting and formatting.
14+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
1515
- `{{ packageManager }} run dev`: Build the library in watch mode.
1616
- `{{ packageManager }} run format`: Format code.
1717
- `{{ packageManager }} run lint`: Lint code.

0 commit comments

Comments
 (0)