Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

db:generate should output colorless name of file when piped #8

Open
hkdobrev opened this issue Aug 13, 2013 · 0 comments
Open

db:generate should output colorless name of file when piped #8

hkdobrev opened this issue Aug 13, 2013 · 0 comments
Assignees
Labels

Comments

@hkdobrev
Copy link
Contributor

When you generate a migration file with db:generate command often you want to copy it to the clipboard or open it in your editor.

It would be really useful to ease that.

The command could detect when it's piped (the output is being passed to another command with a | pipe character). Then it should not use colors and should only output the name of the file.

@ghost ghost assigned hkdobrev Aug 13, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants