# strudel-cli

> Command line scaffolding for Strudel projects

Latest version **1.0.3** (published 2018-04-17) · MIT license · 0 weekly downloads

## Install

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

Provides the commands `strudel`, `strudel-new`.

## 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.3 |
| Published | 2018-04-17 |
| First published | 2017-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mateusz Łuczak |
| Maintainers | mateusz.luczak |

## Links

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

## Dependencies (13)

- [ora](https://npm.io/package/ora.md) ^1.2.0
- [async](https://npm.io/package/async.md) ^2.4.1
- [chalk](https://npm.io/package/chalk.md) ^2.1.0
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.1
- [inquirer](https://npm.io/package/inquirer.md) ^3.0.6
- [commander](https://npm.io/package/commander.md) ^2.15.1
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [user-home](https://npm.io/package/user-home.md) ^2.0.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.6
- [metalsmith](https://npm.io/package/metalsmith.md) ^2.3.0
- [consolidate](https://npm.io/package/consolidate.md) ^0.14.5
- [read-metadata](https://npm.io/package/read-metadata.md) ^1.0.0
- [download-git-repo](https://npm.io/package/download-git-repo.md) ^1.0.0

## Recent versions

- 1.0.3 (latest) — 2018-04-17
- 1.0.2 — 2017-09-16
- 1.0.1 — 2017-05-28
- 1.0.0 — 2017-05-28

## README

# Strudel CLI

Command line scaffolding for Strudel.js

## Installation 

```bash
$ npm install strudel-cli --global
```

## Usage

```bash
$ strudel help
```

## Scaffolding new project

```bash
$ strudel new webpack my-new-project # Using webpack template
$ cd my-new-project
$ npm install
```

### Available templates

Template  | Usage
---       | ---
[Webpack](https://github.com/strudeljs/template-webpack)     | `strudel new webpack my-new-project`
[Clientlib](https://github.com/strudeljs/template-clientlib) | `strudel new clientlib my-new-clientlib`

## Generating components

```bash
$ strudel generate component my-new-component
$ strudel g component my-new-component #using the alias
# you can also generate component in sub-directories, run
$ strudel g component my-new-component components #will be generated in components subdirectory
```

## License

MIT

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