Skip to content

abranhe/init-editorconfig-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




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 ↑

Releases

No releases published

Packages

No packages published