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

Please add usage instructions for repominer #9

Open
eric-optimizely opened this issue Oct 26, 2015 · 1 comment
Open

Please add usage instructions for repominer #9

eric-optimizely opened this issue Oct 26, 2015 · 1 comment

Comments

@eric-optimizely
Copy link

Instructions for how to use repominer.py are noticeably absent from the README file, which focuses mostly on using repoguard.py. It'd be great if documentation for using repominer could be added as well.

@kepten
Copy link
Contributor

kepten commented Oct 27, 2015

Hi Eric,
Thanks for the issues! If you run repominer without any arguments, you should get a help output similar to this:

(virtualenv)➜  repoguard git:(master) ✗ python repominer.py
No files given.
usage: repominer.py [-h] [--rule-dir RULE_DIR] [--alerts ALERTS]
                    [--store STORE]
                    [file [file ...]]

Check a sourcecode repo

positional arguments:
  file                  Files to check

optional arguments:
  -h, --help            show this help message and exit
  --rule-dir RULE_DIR   Directory of rules
  --alerts ALERTS, -a ALERTS
                        Limit running only the given alert checks (comma
                        separated list)
  --store STORE, -S STORE
                        ElasticSearch node (host:port)

You are right that it should be in the README as well, so far it wasn't important for anyone to fix this. If you feel the urgency, we are happy to review pull requests! :)

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