Skip to content

Request: Add dbconsole Command #61

@johnallen3d

Description

We have been having some internal discussions about what this would look like. At the outset the desire would be for a command like:

nib dbconsole [-e environment] SERVICE [COMMAND]

nib would expect some configuration to be attached to the given SERVICE via environment variables and or a setup script (connect to VPN or SSH tunnel for example).

Out of the box the desire is to:

  • support the PostgreSQL Client (psql) and the MSSQL Client (tsql?)
  • detect the server type, download the appropriate image and start up a container
  • use the psql client api as the outward interface for nib dbconsole (map options appropriately to tsql)
  • support loading and executing a file or dropping into an interactive console

/cc Jack A Ross (@jackross) Zach Blankenship (@blankenshipz) - what am I missing?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions