# nova-cli-tools

> nova-cli

Latest version **1.0.2** (published 2021-02-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install nova-cli-tools
pnpm add nova-cli-tools
yarn add nova-cli-tools
bun add nova-cli-tools
```

Provides the command `nova`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-02-04 |
| First published | 2021-01-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jiaochunxiao |
| Maintainers | shaw_jiao |
| Keywords | cli, node, nova |

## Links

- npm: https://www.npmjs.com/package/nova-cli-tools
- Repository: https://github.com/jiaochunxiao/nova-cli
- Homepage: https://github.com/jiaochunxiao/nova-cli#readme
- Issues: https://github.com/jiaochunxiao/nova-cli/issues
- npm.io page: https://npm.io/package/nova-cli-tools

## Dependencies (8)

- [ora](https://npm.io/package/ora.md) ^5.3.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [cli-table](https://npm.io/package/cli-table.md) ^0.3.4
- [commander](https://npm.io/package/commander.md) ^7.0.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.7.6
- [log-symbols](https://npm.io/package/log-symbols.md) ^4.0.0
- [download-git-repo](https://npm.io/package/download-git-repo.md) ^3.0.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-02-04
- 1.0.1 — 2021-01-27
- 1.0.0 — 2021-01-27

## README

## Nova-Cli

一个用于快速创建项目的CLI工具

### 命令行指令

```
Usage: nova <command> [options]

Options:
  -V, --version   output the version number
  -i, --info      output some info of the tools
  -h, --help      display help for command

Commands:
  init|i          create a new project from some template projects
  add|a           add a template to local template list
  list|l          show local template list
  delete|d        delete template from local storage
  help [command]  display help for command
```

#### nova init

初始化项目

```bash
$ nova init
? Project name:  wukong
? Project description:  xiyou
? Author:  wukong
? Select one template:  example-template
{
  projectName: 'wukong',
  description: 'xiyou',
  author: 'wukong',
  template: 'example-template'
}
✔ downloading template...
success
✔ Project initialization is complete!
```

#### nova add

添加模板

```bash
$ nova add
? Template Name:  wukong
? Repository name: [git account name]/[git repository name], such as "jiaochunxiao/nova-cli":  jiaochunxiao/wukong
? Is this repository is public? Yes
success
✔ Template has been added successfully!

┌──────────────────┬─────────────────────────┬──────────┐
│ templateName     │ repository              │ isPublic │
├──────────────────┼─────────────────────────┼──────────┤
│ example-template │ jiaochunxiao/template-a │ true     │
├──────────────────┼─────────────────────────┼──────────┤
│ wukong           │ jiaochunxiao/wukong     │ true     │
└──────────────────┴─────────────────────────┴──────────┘
```

#### nova delete

删除模板

```bash
$ nova delete
? The template which you want to delete:  wukong
? Are you sure to delete it? Yes
success
✔ Template has been deleted successfully!

┌──────────────────┬─────────────────────────┬──────────┐
│ templateName     │ repository              │ isPublic │
├──────────────────┼─────────────────────────┼──────────┤
│ example-template │ jiaochunxiao/template-a │ true     │
└──────────────────┴─────────────────────────┴──────────┘
```

#### nova list

本地保存的模板列表

```bash
$ nova list
ℹ Local template list is shown below.

┌──────────────────┬─────────────────────────┬──────────┐
│ templateName     │ repository              │ isPublic │
├──────────────────┼─────────────────────────┼──────────┤
│ example-template │ jiaochunxiao/template-a │ true     │
├──────────────────┼─────────────────────────┼──────────┤
│ wukong           │ jiaochunxiao/wukong     │ true     │
└──────────────────┴─────────────────────────┴──────────┘
```

### todos

- [x] cli基本功能完成
- [ ] 补充基本模板信息
- [ ] 缓存模板项目到本地

---
_Source: https://npm.io/package/nova-cli-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
