Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 440 Bytes

connect.md

File metadata and controls

18 lines (13 loc) · 440 Bytes

connect

knemm connect -s <state dir> <db_spec>

The command will connect a state with a specific database. Documentation on dbspec here.

Example

$ knemm connect -s my-app-state @pg:my-app 

The example will create a file my-app-state/___db.yaml. It will store pg as client type and my-app as the database in it.

Options

None except for -s - which is mandatory.