# c6-cli

> CLI Tool of P6

Latest version **0.4.1** (published 2019-04-16) · See LICENSE file. license · 0 weekly downloads

## Install

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

Provides the command `c6`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2019-04-16 |
| First published | 2018-09-18 |
| Weekly downloads | 0 |
| License | See LICENSE file. |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8.10.0 |
| Dependencies | 14 |
| Unpacked size | 10.7 MB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Author | Parallel6 |
| Maintainers | xaleph |
| Keywords | yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/c6-cli
- npm.io page: https://npm.io/package/c6-cli

## Dependencies (14)

- [ejs](https://npm.io/package/ejs.md) ^2.6.1
- [chalk](https://npm.io/package/chalk.md) ^2.1.0
- [yosay](https://npm.io/package/yosay.md) ^2.0.1
- [gulp-if](https://npm.io/package/gulp-if.md) ^2.0.2
- [beautify](https://npm.io/package/beautify.md) 0.0.8
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.0
- [commander](https://npm.io/package/commander.md) ^2.16.0
- [gulp-match](https://npm.io/package/gulp-match.md) ^1.0.3
- [change-case](https://npm.io/package/change-case.md) ^3.0.2
- [gulp-logger](https://npm.io/package/gulp-logger.md) 0.0.2
- [gulp-prettier](https://npm.io/package/gulp-prettier.md) ^2.0.0
- [folder-scanner](https://npm.io/package/folder-scanner.md) ^1.0.0
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^2.0.1
- [yeoman-environment](https://npm.io/package/yeoman-environment.md) ^2.3.0

## Recent versions

- 0.4.1 (latest) — 2019-04-16
- 0.3.4 — 2018-11-28
- 0.3.4-1 — 2018-11-26
- 0.3.1 — 2018-09-18

## README

# C6 CLI [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]

> CLI Tool for P6 development

## Installation

We assume you have pre-installed v8.0.0 or latest [node.js](https://nodejs.org/).

For installing this package run the command:

### With NPM:

```bash
npm install -g c6-cli
```

### With Yarn:

```bash
yarn global add c6-cli
```

### Throught Github:

1.  Clone this repository, `master` branch.
2.  Open `Command Line` on source code folder root.
3.  Run command `npm install -g ./`.
4.  Locate `C:\Users\{{USER}}\AppData\Roaming\npm` and open file `c6.cmd`.
5.  Replace content with:

```bash
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\node_modules\c6-cli\index.js"   %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\node_modules\c6-cli\index.js"   %*
)
```

and wait until installation finish.

## Getting Started

Run the command `c6 --help` to see the available options:

```bash
Options:

    -V, --version                     output the version number
    -c --config <config>              configuration file name.
    -cc --create-config               executes configuration file generator.
    -s --subgenerator <subgenerator>  execute a subgenerator directly.
    -h, --help                        output usage information
```

Running the command `c6` without options will search for configuration file `.c6-config.json` or execute the generator wizard by default:

```bash
? Generator Type: Application
? Aplication Type:  Enrollment Application
? [app]: Write application name: app
? [app]: Select the primary color of your app: (Use arrow keys)
> white
  blue
  red
  salmon
  pink
  purple
  orange
(Move up and down to reveal more choices)
```

Subgenerators can be executed directly using the `-s` or `--subgenerator` option:

```bash
c6 -s application/site
```

Also create a configuration file using the option `--create-config`:

```bash
c6 --create-config
```

this will create a file named `.c6-config.json` in the execution path with the desired configuration.

## License

© [Parallel 6]()

[npm-image]: https://badge.fury.io/js/generator-c6.svg
[npm-url]: https://npmjs.org/package/generator-c6
[travis-image]: https://travis-ci.org/karurosux/generator-c6.svg?branch=master
[travis-url]: https://travis-ci.org/karurosux/generator-c6
[daviddm-image]: https://david-dm.org/karurosux/generator-c6.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/karurosux/generator-c6
[coveralls-image]: https://coveralls.io/repos/karurosux/generator-c6/badge.svg
[coveralls-url]: https://coveralls.io/r/karurosux/generator-c6

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