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

Remove '.jitsuconf' reference from 'config list' usage output. #9

Open
swells opened this issue Jan 7, 2015 · 0 comments
Open

Remove '.jitsuconf' reference from 'config list' usage output. #9

swells opened this issue Jan 7, 2015 · 0 comments

Comments

@swells
Copy link

swells commented Jan 7, 2015

Notice the reference to .jitsuconf in the usage output, it should be replaced with the name:

exports.list.usage = [
  'Lists all configuration values currently',
  'set in the .jitsuconf file',
  '',
  '<app> config list'
];

Assuming I am building a CLI called mycli independent of 'jitsu' that uses 'flatiron-cli-config', for example:

mycli.config.env().file({
    file: '.mycliconf',
    dir: process.env.HOME
});

mycli.use(require('flatiron-cli-config'), {
   ...
});

The CLI creates a .mycliconf file in the user's home directory. I would expect a usage message for config list to show a reference to .mycliconf and not .jitsuconf when I run a help:

$ mycli help config list 

Thanks in advance.

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

No branches or pull requests

1 participant