Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Add CLI support to specify output options #20

Open
joshblack opened this issue Feb 16, 2018 · 1 comment
Open

Add CLI support to specify output options #20

joshblack opened this issue Feb 16, 2018 · 1 comment

Comments

@joshblack
Copy link

joshblack commented Feb 16, 2018

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 😄

@seejamescode
Copy link
Contributor

seejamescode commented Feb 23, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants