css-gridish
css-gridish copied to clipboard
Add CLI support to specify output options
Hi there! 👋
This is just a suggestion for an enhancement 😄 Would be nice to update this to a CLI that supports flags like:
# Displays capabilities
npx css-gridish --help
# Creates necessary files in the current directory for
# css-gridish to work, then runs css-gridish
npx css-gridish create <path-to-dir>
# Updates files with newest css-gridish version
npx css-gridish update <path-to-config>
# Updates files in config path directory
npx css-gridish sync <path-to-config> [...options]
Options for sync
could be ones that help determine what files need to be output, the biggest ones would be:
- Whether to output a Sketch file or not
- Whether to output a README file or not
Let me know if you'd be open to these kinds of changes or not! Can try and see what kind of effort would be involved if so 😄
I’m down for this to happen. I think we should do options for each directory/item to output. If we reveal that in the CLI, it should also be an object in the config with booleans for each directory/item.
Let me know if you’ll take it on!