Skip to content

Commit

Permalink
Added pnpm create kita command (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 29, 2024
1 parent 8f06fb4 commit 8965cc8
Show file tree
Hide file tree
Showing 49 changed files with 1,348 additions and 324 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-poems-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-kita': minor
---

Added Kita & Kita JSX templates
5 changes: 5 additions & 0 deletions .changeset/hot-spiders-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-kita': patch
---

Added create-kita command alias
40 changes: 34 additions & 6 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $ npm install -g @kitajs/cli
$ kita COMMAND
running command...
$ kita (--version|-v)
@kitajs/cli/1.1.29 linux-x64 node-v20.11.0
@kitajs/cli/1.1.31 linux-x64 node-v20.11.0
$ kita --help [COMMAND]
USAGE
$ kita COMMAND
Expand All @@ -94,6 +94,7 @@ USAGE
- [`kita autocomplete [SHELL]`](#kita-autocomplete-shell)
- [`kita build`](#kita-build)
- [`kita config`](#kita-config)
- [`kita create`](#kita-create)
- [`kita help [COMMAND]`](#kita-help-command)
- [`kita init`](#kita-init)
- [`kita plugins`](#kita-plugins)
Expand Down Expand Up @@ -171,7 +172,7 @@ EXAMPLES
$ kita build -d
```

_See code: [src/commands/build.ts](https://github.com/kitajs/kitajs/blob/v1.1.29/src/commands/build.ts)_
_See code: [src/commands/build.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/build.ts)_

## `kita config`

Expand All @@ -197,7 +198,34 @@ EXAMPLES
$ kita config -c kita.config.js
```

_See code: [src/commands/config.ts](https://github.com/kitajs/kitajs/blob/v1.1.29/src/commands/config.ts)_
_See code: [src/commands/config.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/config.ts)_

## `kita create`

Scaffolds a new project with Kita

```
USAGE
$ kita create [-n <value>] [-d <value>] [-t kita] [-g] [-y]
FLAGS
-d, --dir=<value> The directory to create the project in.
-g, --initGit Initializes a git repository.
-n, --name=<value> The name of the project.
-t, --template=<option> The template to use.
<options: kita>
-y, --yes Skips the prompts and uses the defaults.
DESCRIPTION
Scaffolds a new project with Kita
EXAMPLES
Scaffolds a project called mybackend.
$ kita create -n mybackend
```

_See code: [src/commands/create.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/create.ts)_

## `kita help [COMMAND]`

Expand Down Expand Up @@ -238,7 +266,7 @@ EXAMPLES
$ kita init
```

_See code: [src/commands/init.ts](https://github.com/kitajs/kitajs/blob/v1.1.29/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/init.ts)_

## `kita plugins`

Expand Down Expand Up @@ -541,7 +569,7 @@ EXAMPLES
$ kita reset
```

_See code: [src/commands/reset.ts](https://github.com/kitajs/kitajs/blob/v1.1.29/src/commands/reset.ts)_
_See code: [src/commands/reset.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/reset.ts)_

## `kita watch`

Expand Down Expand Up @@ -576,7 +604,7 @@ EXAMPLES
$ kita watch -d
```

_See code: [src/commands/watch.ts](https://github.com/kitajs/kitajs/blob/v1.1.29/src/commands/watch.ts)_
_See code: [src/commands/watch.ts](https://github.com/kitajs/kitajs/blob/v1.1.31/src/commands/watch.ts)_

<!-- commandsstop -->

Expand Down
282 changes: 0 additions & 282 deletions packages/cli/oclif.manifest.json

This file was deleted.

0 comments on commit 8965cc8

Please sign in to comment.