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

resolving cli flags to commands #104

Closed
wants to merge 5 commits into from
Closed

Conversation

ajaymathur
Copy link
Member

@ajaymathur ajaymathur commented Jan 8, 2018

passing flags to command. Fix : #90

Need Review. 🙂

@@ -0,0 +1,47 @@
// @flow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be in src/functions

@ajaymathur ajaymathur changed the title possible way to resolve passing flags to cli commands resolving cli flags to commands Feb 5, 2018
@ajaymathur
Copy link
Member Author

@jamiebuilds @lukebatchelor request review. 🙂

// @flow
import * as options from './options';

const BOOLEAN_FLAGS = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we discussed this before, that we couldnt have a hard coded list of boolean flags, because it's context dependent?

@ajaymathur
Copy link
Member Author

The approach taken here is not going to work:

  1. we should not select flags for execution.

@ajaymathur ajaymathur closed this Aug 6, 2018
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.

None yet

3 participants