Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make a utility library for displaying terminal output #223

Open
hakamadare opened this issue Jan 27, 2014 · 0 comments
Open

make a utility library for displaying terminal output #223

hakamadare opened this issue Jan 27, 2014 · 0 comments
Assignees

Comments

@hakamadare
Copy link
Contributor

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.

@ghost ghost assigned hakamadare Jan 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant