Skip to content

Commit

Permalink
Merge pull request #800 from untergeek/feature/767
Browse files Browse the repository at this point in the history
Add in singleton command-line interface
  • Loading branch information
untergeek committed Nov 4, 2016
2 parents 82b3816 + d388418 commit a413f9b
Show file tree
Hide file tree
Showing 18 changed files with 867 additions and 73 deletions.
2 changes: 0 additions & 2 deletions curator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def cli(config, dry_run, action_file):
### Start working on the actions here ###
#########################################
action_config = get_yaml(action_file)
logger.debug('PRE-YAY')
action_dict = validate_actions(action_config)
logger.debug('YAY')
actions = action_dict['actions']
logger.debug('Full list of actions: {0}'.format(actions))
action_keys = sorted(list(actions.keys()))
Expand Down
5 changes: 0 additions & 5 deletions curator/curator.py

This file was deleted.

5 changes: 5 additions & 0 deletions curator/curator_cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import click
from .singletons import cli

def main():
cli(obj={})
4 changes: 0 additions & 4 deletions curator/es_repo_mgr.py

This file was deleted.

0 comments on commit a413f9b

Please sign in to comment.