You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong parsing of argument when passing an option #611
cfy blueprints upload /home/nir0s/repos/cloudify/simple-python-webserver-blueprint/blueprint.yaml --validate
Usage: cfy [OPTIONS] BLUEPRINT_PATH
Error: Got unexpected extra arguments (h o m e / n i r 0 s / r e p o s / c l o u d i f y / s i m p l e - p y t h o n - w e b s e r v e r - b l u e p r i n t / b l u e p r i n t . y a m l)
The command's code is:
@blueprints.command(name='upload')@click.argument('blueprint-path', nargs=1, required=True)@cfy.options.blueprint_id()@cfy.options.blueprint_filename()@cfy.options.validatedefupload(blueprint_path,
blueprint_id,
blueprint_filename,
validate):
"""Upload a blueprint to the manager """
...
Activity
fdavis commentedon May 15, 2018
I believe that
/is accepted to be more compatible with windows tools so we may need a way to escape thatdavidism commentedon Feb 28, 2022
I can't reproduce this issue using the provided example.