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

Apply config file keys to sub commands #729

Closed
kumar303 opened this issue Jan 3, 2017 · 0 comments
Closed

Apply config file keys to sub commands #729

kumar303 opened this issue Jan 3, 2017 · 0 comments
Assignees

Comments

@kumar303
Copy link
Contributor

kumar303 commented Jan 3, 2017

This is a stepping stone toward implementing all of #176

After #728, let's allow a config file to define both global options and sub-command options like this:

module.exports = {
  sourceDir: './extension',
  sign: {
    apiKey: process.env.MY_API_KEY,
    apiSecret: process.env.MY_API_SECRET,
  },
  run: {
    firefoxBinary: 'nightly',
  },
};

Any sub-command option should be named after the command (like sign, run, lint, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants