# poketask

> Create a .gitignore with a one-line command.

Latest version **0.5.1** (published 2019-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install poketask
pnpm add poketask
yarn add poketask
bun add poketask
```

Provides the command `poketask`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2019-09-16 |
| First published | 2018-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 15.9 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 8 |
| Author | Ricardo Huamani |
| Maintainers | drihu |
| Keywords | readme, license, gitignore, gitattributes, editorconfig |

## Links

- npm: https://www.npmjs.com/package/poketask
- Repository: https://github.com/drihu/poketask
- Homepage: https://github.com/drihu/poketask#readme
- Issues: https://github.com/drihu/poketask/issues
- npm.io page: https://npm.io/package/poketask

## Dependencies (4)

- [ejs](https://npm.io/package/ejs.md) ^2.7.1
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [inquirer](https://npm.io/package/inquirer.md) ^5.2.0
- [commander](https://npm.io/package/commander.md) ^2.20.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.5.1 (latest) — 2019-09-16
- 0.5.0 — 2019-09-16
- 0.4.5 — 2018-06-25
- 0.4.4 — 2018-06-25
- 0.4.3 — 2018-06-22
- 0.4.2 — 2018-04-10
- 0.4.1 — 2018-04-10
- 0.4.0 — 2018-04-09
- 0.3.3 — 2018-04-01
- 0.3.2 — 2018-03-30
- 0.3.1 — 2018-03-30
- 0.3.0 — 2018-03-30
- 0.2.4 — 2018-03-30
- 0.2.2 — 2018-03-25
- 0.2.1 — 2018-03-24
- … 2 more at https://npm.io/package/poketask/versions

## README

# Poketask

[![license](https://img.shields.io/badge/license-MIT-green.svg)]()

> A simple command to start any project. Run the command to create a .gitignore, .gitattributes, .editorconfig, README.md and a LICENSE with a one-line command.

Currently, it is compatible with Node >= 8.0.0

## Installation

```bash
npm install -g poketask
```

## Usage

### Command init

It is recommended to execute the command after *npm init* in your project's root folder. It will then create a README.md, LICENSE, .gitignore, .gitattributes and .editorconfig.

```bash
poketask init
```

Example:

```bash
$ poketask init
With poketask you'll be able to generate the following files:
README.md, LICENSE, .gitignore, .gitattributes & .editorconfig

Press ^C at any time to quit.
? package name: my-package
? description: description here
? author name: Pablo Marmol
? license: mit
? gitignore templates: node laravel visualstudiocode
--
.editorconfig created
.gitattributes created
.gitignore created with VisualStudioCode.gitignore, Node.gitignore, Laravel.gitignore
LICENSE created under MIT
README.md created
```

### Command gi (Gitignore)

If you just want to get the gitignore file, it will then create a single .gitignore. You need to specify the gitignore templates.

```bash
poketask gi <template> <template> ...
```

Example:

```bash
$ poketask gi node laravel visualstudiocode
.gitignore created with VisualStudioCode.gitignore, Node.gitignore, Laravel.gitignore
```

The project uses the github gitignore templates and also accepts multiple gitignores.

The list of gitignore templates can be found [here](https://github.com/github/gitignore).

### Command ga (Gitattributes)
If you just want to get the gitattributes file, it will then create a single .gitattributes.

```bash
poketask ga
```

Example:

```bash
$ poketask ga
.gitattributes created
```

### Command li (License)

If you just want to get the LICENSE file. Use the next command.

```bash
poketask li
```

Example:

```bash
$ poketask li
? author name: Pablo Marmol
? license: mit
--
LICENSE created under MIT
```

The list of license templates is [here](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses).

## Thanks
Thanks to [LYCrachel](https://github.com/LYCrachel) and [bradleylandis](https://github.com/bradleylandis) for the improvements.

## License

Copyright &copy; 2018 Ricardo Huamani

Licensed under the terms of the MIT license.

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