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

better CLI #115

Open
rvalyi opened this issue May 10, 2014 · 0 comments
Open

better CLI #115

rvalyi opened this issue May 10, 2014 · 0 comments

Comments

@rvalyi
Copy link
Member

rvalyi commented May 10, 2014

copy this syntax
https://blog.starkandwayne.com/2014/05/10/using-a-postgres-uri-with-psql/
postgres://USERNAME:PASSWORD@babar.elephantsql.com:5432/jszlmeae

if not pwd in uri, then ask (else admin)
use a URI parsing tool?

add options:
-s (secure without port)
-e "some ruby expression" -> eval and return like ruby -e
if only "some expression" -> eval but enter irb instead
-f -> don't load constants (faster)

DB and common methods? -> not sure if not implemented yet in JSONRPC

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