init-editorconfig-cli
: Cli generator of .editorconfig 🐭
Install
npm install init-gitignore-cli
Cli
Usage
$ init-editorconfig <option>
Options
--help Show this message and close
--feedback, -f Send a feedback
--root, -r Special property that should be specified at the top
of the file outside of any sections. Set to true stop .editorconfig files search on
current file
--match, -m Set special characters to be recognized for EditorConfig
--also, -a Leave black space between properties
--property, -p Set a new property
--value, -v Set value for property
Example
$ init-editorconfig --root true -m "*.py" -p indent_style -v space
NOTE: must have --property
and --value
to add a property.
TODO
- Accept more than one property at once
- Make that
--also
work propertly
Related
- init-editorconfig: API for this module 🐭
- init-gitignore: Because making git ignore files should be easier.
- init-pkg-json: 📦 Complex generator of Package.json.
- init-pkg-json-cli: CLI for package.json generator 📦 .
- init-gitignore-cli: CLI for init-gitignore
Team
Carlos Abraham |
License
MIT License © Carlos Abraham