improve cli/env settings
-remove unused settings -add help strings -fix required settings
This commit is contained in:
parent
9efddcdbf9
commit
ca39d38dda
9 changed files with 100 additions and 206 deletions
scribe/elasticsearch
|
@ -11,8 +11,8 @@ def main():
|
|||
parser = argparse.ArgumentParser(
|
||||
prog='scribe-elastic-sync'
|
||||
)
|
||||
Env.contribute_to_arg_parser(parser)
|
||||
parser.add_argument('--reindex', type=bool, default=False)
|
||||
Env.contribute_common_settings_to_arg_parser(parser)
|
||||
Env.contribute_elastic_sync_settings_to_arg_parser(parser)
|
||||
args = parser.parse_args()
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue