AlexGaiser / fast-react

A CLI tool to quickly spin up a lightweight and fully customizable react project
MIT License
0 stars 0 forks source link

Add options for flags, create list of options the project will take #10

Open AlexGaiser opened 3 years ago

Scott-Ian commented 3 years ago

Note: Alex mentioned using Yargs or another library for handling flags.

AlexGaiser commented 3 years ago

Yes @Scott-Ian I looked at

But you should look into how if it works well with typescript

AlexGaiser commented 3 years ago

I am pinning this issue: @brian-ogilvie @Scott-Ian feel free to add any names for arguments you think we will need for Ian to include

AlexGaiser commented 3 years ago

flags / flag-names (including the ones already included in PR #18

@brian-ogilvie @Scott-Ian These are all the flags I think we will need for our mvp as defined in Issue #3. If you have any additional flags we should add add them to this comment chain. if you want ian you could add all of these to the cliOptions.ts in PR #18 or you can create a separate pull request with them included later

brian-ogilvie commented 3 years ago

Is --name a necessary flag? Usually name would just be the first argument passed to the command. Are you thinking that the name could be positional or optionally flagged explicitly?