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

Add dbconsole command #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jackross
Copy link

@jackross jackross commented Aug 3, 2016

Enables nib to simply run a script, located at $pwd/bin/dbconsole with the intention of launching a database REPL console, such as psql in the context of the service.

The intention is to launch a database REPL console, such as `psql` in
the context of the service.
@johnallen3d
Copy link
Contributor

Can you take a look at this one @blankenshipz?

desc 'Start a Database REPL session for the given service'
long_desc <<-"DESC"
This command, for now, will simply run the file supplied at $pwd/bin/dbconsole.
We recommend someting as simple as:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someting -> something

@johnallen3d johnallen3d changed the title Feature/adds dbconsole command Adds dbconsole command Aug 5, 2016
@johnallen3d johnallen3d changed the title Adds dbconsole command Add dbconsole command Aug 5, 2016
@blankenshipz
Copy link
Contributor

blankenshipz commented Aug 5, 2016

I think that there should be a default behavior if the dbconsole file does not exist fall back to rails dbconsole

@johnallen3d @jackross
thoughts?

@johnallen3d
Copy link
Contributor

That seems sensible to me @blankenshipz!

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

Successfully merging this pull request may close these issues.

3 participants