Skip to content

make a utility library for displaying terminal output #223

@hakamadare

Description

@hakamadare

how about instead of writing this:

print colored("Error: ", "red"), "No blueprint by that name.\nFor a list of blueprints run `nepho blueprint list %s`" % (self.app.cloudlet_name)

we instead could write this:

from nepho.core.output import error
error("No blueprint by that name.\nFor a list of blueprints run `nepho blueprint list %s`" % (self.app.cloudlet_name))

these would just be convenience methods, but would enable cleaner and more consistent code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions