Add filter command that will save graph after filters are applied
This commit is contained in:
parent
da3fd1eb93
commit
c6fa8033a5
@ -58,7 +58,9 @@ def report(uid):
|
|||||||
@click.option('--end', '-e', multiple=True)
|
@click.option('--end', '-e', multiple=True)
|
||||||
@click.option('--tasks', '-t', multiple=True)
|
@click.option('--tasks', '-t', multiple=True)
|
||||||
def filter(uid, start, end, tasks):
|
def filter(uid, start, end, tasks):
|
||||||
click.echo(filters.traverse(start=start, end=end, tasks=tasks))
|
filtered_plan = filters.traverse(
|
||||||
|
graph.get_graph(uid), start=start, end=end, tasks=tasks)
|
||||||
|
graph.save_graph(uid, filtered_plan)
|
||||||
|
|
||||||
|
|
||||||
@orchestration.command(name='run-once')
|
@orchestration.command(name='run-once')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user