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

Add force-default-index argument to minimist parsing #188

Merged
merged 1 commit into from
Dec 7, 2016
Merged

Add force-default-index argument to minimist parsing #188

merged 1 commit into from
Dec 7, 2016

Conversation

rreusser
Copy link
Contributor

@rreusser rreusser commented Nov 26, 2016

The problem: The forceDefaultIndex API option already exists but is not exposed in the CLI. This prevents me from using budo-cli unless I always rm index.html first. (example: index.js yields index.html in the same directory—which is pretty handy given github web hosting).

The solution: This PR adds a minimist option with hyphenated alias as well as documentation. The default behavior is otherwise unchanged. I have verified this by hand but didn't find end-to-end tests of the CLI or argument parsing to which to add a test.

Let me know if there's any details that need attention or if this is otherwise acceptable/unacceptable. Thanks so much!

@mattdesl mattdesl merged commit 9455131 into mattdesl:master Dec 7, 2016
@mattdesl
Copy link
Owner

mattdesl commented Dec 7, 2016

Thanks!

@rreusser rreusser deleted the add-force-default-index-arg branch December 7, 2016 22:43
mattdesl added a commit that referenced this pull request Jan 28, 2017
Add force-default-index argument to minimist parsing
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.

2 participants