Skip to content
Snippets Groups Projects
Commit 15d17487 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Remove init and add config arg

parent b28c6c6f
No related branches found
No related tags found
No related merge requests found
import sbws.core.cleanup
import sbws.core.scanner
import sbws.core.generate
import sbws.core.init
import sbws.core.stats
from sbws import __version__
......@@ -22,12 +21,11 @@ def create_parser():
p.add_argument('--log-level',
choices=['debug', 'info', 'warning', 'error', 'critical'],
help='Override the sbws log level')
p.add_argument('-d', '--directory', default=_default_dot_sbws_dname(),
help='Name of the .sbws directory')
p.add_argument('-c', '--config',
help='Path the sbws config file')
sub = p.add_subparsers(dest='command')
sbws.core.cleanup.gen_parser(sub)
sbws.core.scanner.gen_parser(sub)
sbws.core.generate.gen_parser(sub)
sbws.core.init.gen_parser(sub)
sbws.core.stats.gen_parser(sub)
return p
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment