From 00ab13546add6c19181241c49d6f8e1a5d726729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Wed, 15 Jul 2015 13:42:46 +0000 Subject: [PATCH] Virtual resources are files --- solar/solar/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solar/solar/cli/main.py b/solar/solar/cli/main.py index cfa844b6..428315d1 100644 --- a/solar/solar/cli/main.py +++ b/solar/solar/cli/main.py @@ -299,7 +299,7 @@ def init_cli_resource(): @resource.command() @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) def create(args, base_path, name): args_parsed = {}