Merge pull request #19 from Mirantis/cli_fix
Virtual resources are files
This commit is contained in:
commit
d331a99126
@ -314,7 +314,7 @@ def init_cli_resource():
|
|||||||
|
|
||||||
@resource.command()
|
@resource.command()
|
||||||
@click.argument('name')
|
@click.argument('name')
|
||||||
@click.argument('base_path', type=click.Path(exists=True, file_okay=False))
|
@click.argument('base_path', type=click.Path(exists=True, file_okay=True))
|
||||||
@click.argument('args', nargs=-1)
|
@click.argument('args', nargs=-1)
|
||||||
def create(args, base_path, name):
|
def create(args, base_path, name):
|
||||||
args_parsed = {}
|
args_parsed = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user