-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Bring gh-pages up to date and refactor documentation building process #299
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.option("--whatever", "some stuff")
I would like to use '-v' for '--verbose' and only expose version as '--version'. This change allows me to do this without changing the defaults for everybody else.
Make version flags configurable
so they line up nice still, -V is lame but meh
For '--longflag [value]', '--longflag' was being mistaken for the short option, and '[value]' as the long option. This patch fixes this by checking if the second flag argument starts with [ or < which indicates a value being expected.
Fix: Long-only flags would not take values
Signed-off-by: Tj Holowaychuk <[email protected]>
… events a chance to write something, and then ask to destroySoon the stdout stream. Signed-off-by: Tj Holowaychuk <[email protected]>
this was breaking for me on 0.4.x and 0.6.x
Add support for variadic arguments
fix a bug in the `Variadic arguments` demo
Fix a bug with variadic argument.
Make app name settable #292
merge the three `if(desc)`
add info for git-style subcommand
Revert "Make app name settable #292"
* master: (156 commits) Revert "Make app name settable #292" update code highlight small refactor add info for git-style subcommand Make app name settable #292 Add a test case for this bug fix Fix a bug with variadic argument Updated Readme.md to make custom help example portable version bump v2.5.0 version bump v2.5.0 fix a bug in demo Add support for variadic arguments update readme update README.md Updates links in readme typo v2.4.0 add .idea to .gitignore remove unused list function from custom-help example lint `){` ==> `) {` ... Conflicts: Readme.md lib/commander.js
This patch removes the unnecessary `test` target from the Makefile, as there's no need to run tests in the `gh-pages` branch. In addition, we're no longer reliant on globally installed packages. We use a locally installed `dox` to build our documentation.
LGTM. Big thanks to @stephenmathieson |
zhiyelee
added a commit
that referenced
this pull request
Dec 8, 2014
Bring gh-pages up to date and refactor documentation building process To update, you'll now just run: ``` $ git checkout gh-pages $ git merge master # resolve conflicts $ make $ git add ... $ git commit ... ```
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merged the master branch with the severely out-of-date
gh-pages
.Refactored the Makefile to support the newer version of this lib and removed its magical dependency on globally installed modules (jade, dox).
To update, you'll now just run:
$ git checkout gh-pages $ git merge master # resolve conflicts $ make $ git add ... $ git commit ...
Closes #171.