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

Thor should allow namespaces to be turned off #27

Closed
indirect opened this issue Feb 12, 2010 · 1 comment
Closed

Thor should allow namespaces to be turned off #27

indirect opened this issue Feb 12, 2010 · 1 comment

Comments

@indirect
Copy link
Member

If you are writing a command line utility based on Thor, you don't need Thor to include information about the namespace when it prints usage and errors. For example:

$ bundle foo
The bundler:c_l_i namespace doesn't have a 'foo' task

It seems like it should work like this instead:

$ bundle foo
There is no 'foo' task

It would be very nice to have a way to tell Thor::Task that I don't want namespaces to be mentioned in messages.

@josevalim
Copy link
Contributor

Fixed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants