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

Feature request: Command line option to pipe default configuration to stdout #739

Open
fkromer opened this issue Apr 9, 2018 · 7 comments

Comments

@fkromer
Copy link

fkromer commented Apr 9, 2018

Could we add a command line option to output the default configuration similar to how pylint does (to get a config file containing the default config with e.g. pylint --generate-rcfile > .pylintrc)?

pylint -h
    --generate-rcfile   Generate a sample configuration file according to the
                        current configuration. You can put other options
                        before this one to get them in the generated
                        configuration.
@hoylemd
Copy link

hoylemd commented Apr 9, 2018

This should be a feature in every CLI tool with a config file :p

@fkromer
Copy link
Author

fkromer commented Apr 9, 2018

Common, this feature is very helpful 😉

@fkromer
Copy link
Author

fkromer commented Apr 9, 2018

spam alarm!!! 😉 same feature request for "pydocstyle"

@sigmavirus24
Copy link
Member

spam alarm!!!

Same person spamming the repos provides the alarm... This seems like self-generating business of GitHub commenting to bolster contributions or something ;)

@sigmavirus24
Copy link
Member

And as I said on pydocstyle there's too many config files that are supported for this project. The generated rcfile should be printed to stdout.

@fkromer
Copy link
Author

fkromer commented Apr 9, 2018

Same person spamming the repos provides the alarm...

Something like that happens if you are testing way too much 😄

@fkromer
Copy link
Author

fkromer commented Apr 9, 2018

The generated rcfile should be printed to stdout.

That's what pylint does. I adjust the issue name...

@fkromer fkromer changed the title Feature request: Command line option to output default configuration Feature request: Command line option to pipe default configuration to stdout Apr 9, 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

No branches or pull requests

3 participants