Skip to content

/apps/<APP>/ save_blueprint desc=@auto does not use existing app description like help page suggests #179

@ryran

Description

@ryran

From help:

/apps/myapp> help save_blueprint 

SYNTAX
======
save_blueprint [name] [desc] [shutdown] [waitSnapshotCompletion] [allowExactName] [quiet] 

DEFAULT VALUES
==============
name=@prompt desc=@prompt shutdown=true waitSnapshotCompletion=true allowExactName=false quiet=false 

DESCRIPTION
===========
Interactively create a new blueprint from application.

Optionally specify all parameters on the command-line.
Note that blueprint *name* & *desc* can be set to '@auto' -- this bases
them off of the application name and description.
...

Instead, what happens:

if desc == '@prompt':
    desc = raw_input(c.CYAN("\nOptionally enter a description for your new app: "))
    if len(desc):
        desc += ' '
    else:
        desc = ''
elif desc == '@auto':
    desc = ''
else:
    desc += ' '
desc += "[Created w/{} {} by {} from app '{}']".format(cfg.prog, cfg.__version__, user, self.appName)

That is to say: it Simply adds the [Created w/ravshello vxxx... tag, ignoring the app description.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions