# autoprojects-cli

> autoprojects-cli is a template managment system to auto generate projects

Latest version **1.1.1** (published 2022-04-18) · GNU license · 0 weekly downloads

## Install

```sh
npm install autoprojects-cli
pnpm add autoprojects-cli
yarn add autoprojects-cli
bun add autoprojects-cli
```

Provides the command `autoprojects-cli`.

## 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.1.1 |
| Published | 2022-04-18 |
| First published | 2021-11-27 |
| Weekly downloads | 0 |
| License | GNU |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 24 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Leonel Alcazar |
| Maintainers | leiito |
| Keywords | cli, command, template, templates, frontend, args, argv |

## Links

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

## Dependencies (5)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [lowdb](https://npm.io/package/lowdb.md) ^1.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.0
- [commander](https://npm.io/package/commander.md) ^8.3.0

## 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.1.1 (latest) — 2022-04-18
- 1.1.0 — 2022-04-11
- 1.0.0 — 2021-11-27

## README

# autoprojects-cli

autoprojects-cli is a template managment system to auto generate projects

## Install

First make sure you have installed the latest version of [node.js](https://nodejs.org) (You may need to restart your computer after this step).

To install global:

```
npm install autoprojects-cli -g
```

## Usage

If you want to start a new project:

```
autoprojects-cli init-project <projectName>
```

### Templates

To add template:

```
cd my-example-api/
autoprojects-cli template add
```

To list templates:

```
autoprojects-cli template list
```

To remove template:

```
autoprojects-cli template remove <templateName>
```

### Parameters of templates

You can put a `autoprojects.json` file on root of the template for specy configuration of your template.
Currently it only serves to define variables that will be used to customize the template

In `autoprojects.json` of the template:

```json
{
	"variables": ["NAME"]
}
```

In a file of template:

```html
<html>
	<head>
		...
	</head>
	<body>
		<h1>Welcome %%NAME%%</h1>
	</body>
</html>
```

All "%%NAME%%" found will be replaced by the value given by the user when creating the project

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