Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#10 cli default #79

Closed
wants to merge 6 commits into from
Closed

Conversation

jamesr73
Copy link
Contributor

Addresses #10

Adds checks for required arguments and outputs help if they are missing. Reports on unknown commands.

Syncs up command descriptions between top-level and sub-command level usage.

@codecov-io
Copy link

codecov-io commented Jun 28, 2016

Codecov Report

❗ No coverage uploaded for pull request base (master@9e6a467). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #79   +/-   ##
=========================================
  Coverage          ?   71.42%           
=========================================
  Files             ?       11           
  Lines             ?      280           
  Branches          ?       46           
=========================================
  Hits              ?      200           
  Misses            ?       80           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e6a467...802f374. Read the comment docs.

@anithri
Copy link
Collaborator

anithri commented Sep 18, 2017

The functionality looks good. It will needs tests before it gets accepted though.

@jamesr73 Do you want to write the tests, or should we ask for contributors?

@jamesr73
Copy link
Contributor Author

Wow, been a while since I looked at this, and now I have conflicts 😏

Testing these changes will need tests for the CLI in the first instance. And they may well require an additional change for Commander #297.

Let me take a look and get back to you.

It's probably also worth upgrading the commander dependency, newest should support sub command aliases directly. Thoughts?

…pencerCDixon#10-cli-default

* 'master' of https://github.com/jamesr73/redux-cli:
  Starting development on 2.0
  1.9.0
  Adds yarn and updates package.json to not use explicit .bins
  Fixes redux g
  Fix example for .reduxrc
  Fix additional instances of typo in readme.md
  Fix typo in readme.md
  fix: } doesn't ( in blueprint file. guess it's a mistake :)
  Changed error message mentioned in SpencerCDixon#35
  Fixed typo in readme code example
  Releases v1.8.0 with dry run support
  added test for writeWouldCreate
  add dry run option for redux generate
  Adds changelog updates to readme
  1.7.0
  Adds -U option to 'new' command in order to generate a UI Kit boilerplate
  Fix readme typo
  Adds a flag to new command for using the redux-cli-boilerplate
  1.5.1

# Resolved Conflicts:
#	src/cli/redux-generate.js
#	src/cli/redux-new.js
@jamesr73
Copy link
Contributor Author

Resolved my conflicts. I can write tests but I'm thinking it's worth waiting until #99 is merged.

@jamesr73 jamesr73 mentioned this pull request Sep 22, 2017
@anithri
Copy link
Collaborator

anithri commented Sep 25, 2017

Is there any need for this given #110?

@jamesr73
Copy link
Contributor Author

No, #110 supersedes this.

@jamesr73 jamesr73 closed this Sep 25, 2017
@jamesr73 jamesr73 deleted the #10-cli-default branch October 1, 2017 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants