init-editorconfig-cli

1.0.1 • Public • Published




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

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

 top ↑

Package Sidebar

Install

npm i init-editorconfig-cli

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.83 kB

Total Files

4

Last publish

Collaborators

  • abranhe