poketask v0.5.1
Poketask
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
npm install -g poketaskUsage
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.
poketask initExample:
$ 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 createdCommand 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.
poketask gi <template> <template> ...Example:
$ poketask gi node laravel visualstudiocode
.gitignore created with VisualStudioCode.gitignore, Node.gitignore, Laravel.gitignoreThe project uses the github gitignore templates and also accepts multiple gitignores.
The list of gitignore templates can be found here.
Command ga (Gitattributes)
If you just want to get the gitattributes file, it will then create a single .gitattributes.
poketask gaExample:
$ poketask ga
.gitattributes createdCommand li (License)
If you just want to get the LICENSE file. Use the next command.
poketask liExample:
$ poketask li
? author name: Pablo Marmol
? license: mit
--
LICENSE created under MITThe list of license templates is here.
Thanks
Thanks to LYCrachel and bradleylandis for the improvements.
License
Copyright © 2018 Ricardo Huamani
Licensed under the terms of the MIT license.