Be able to let Constyle generate a new .constyblerc file based on CSS that is provided. This should make getting started a lot easier.
constyble init style.css
# or
cat style.css | constyble init
Should generate a .constyblerc file in the current working directory based on the css statistics of the passed CSS.
# Generating a custom file path config
constyble init style.css --config='/path/to/constyle.json'
# or
cat style.css | constyble init --config='/path/to/constyle.json'
To be discussed
- What to do when file cannot be written?
- What to when file already exists?
- Should we implement
constyble init --help, displaying an init oriented help message?
Idea credit: @jeroen-severein
Be able to let Constyle generate a new .constyblerc file based on CSS that is provided. This should make getting started a lot easier.
Should generate a
.constyblercfile in the current working directory based on the css statistics of the passed CSS.To be discussed
constyble init --help, displaying an init oriented help message?Idea credit: @jeroen-severein