Manifest Connection

Add a connection to a manifest

The manifest:connection:add command is used to add a connection to a manifest.

manifest:connection:add

Add a connection to the manifest file

Examples

$ rejot-cli manifest connection add --slug my-db --connection-string "postgresql://user:pass@host:5432/db"
$ rejot-cli manifest connection add --slug my-db --type postgres --host localhost --port 5432 --user postgres --password secret --database mydb

Flags

--manifest string

Path to manifest file

Default: "./rejot-manifest.json"
--connection-string string

Connection string (format: postgresql://user[:pass]@host[:port]/db)

--type option

Connection type (required if not using connection-string)

Options: "postgres"
--host string

Host address (required if not using connection-string)

--port string

Port number (required if not using connection-string)

--user string

Username (required if not using connection-string)

--password string

Password (required if not using connection-string)

--database string

Database name (required if not using connection-string)

--slug string required

Connection slug

Remove a connection from a manifest

The manifest:connection:remove command is used to remove a connection from a manifest.

manifest:connection:remove

Remove a connection from the manifest file

Examples

$ rejot-cli manifest connection remove my-db

Arguments

slug required

Connection slug to remove

Flags

--manifest string

Path to manifest file

Default: "./rejot-manifest.json"

List all connections in a manifest

The manifest:connection:list command is used to list all connections in a manifest.

manifest:connection:list

List all connections in the manifest file

Examples

$ rejot-cli manifest connection list

Flags

--manifest string

Path to manifest file

Default: "./rejot-manifest.json"

Update a connection in a manifest

The manifest:connection:update command is used to update a connection in a manifest.

manifest:connection:update

Update an existing connection in the manifest file

Examples

$ rejot-cli manifest connection update my-db --connection-string "postgresql://user:pass@host:5432/db"
$ rejot-cli manifest connection update my-db --type postgres --host localhost --port 5432 --user postgres --password secret --database mydb

Arguments

slug required

Connection slug to update

Flags

--manifest string

Path to manifest file

Default: "./rejot-manifest.json"
--connection-string string

Connection string (format: postgresql://user[:pass]@host[:port]/db)

--type option

Connection type (required if not using connection-string)

Options: "postgres"
--host string

Host address (required if not using connection-string)

--port string

Port number (required if not using connection-string)

--user string

Username (required if not using connection-string)

--password string

Password (required if not using connection-string)

--database string

Database name (required if not using connection-string)