mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-15 00:04:24 +00:00
chore(snippets): improve exemplary commands
This commit is contained in:
@@ -15,6 +15,7 @@ curl -X 'POST' 'https://dblab.company.com:1234/api/clone' -H "Verification-Token
|
||||
|
||||
# Get clones' information
|
||||
curl 'https://dblab.company.com:1234/api/clone/smth' -H "Verification-Token: $(gopass show -o 'dblab')"
|
||||
dblab --url 'http://dblab.company.com:1234/' --token "$(gopass show -o 'dblab')" clone status 'smth'
|
||||
|
||||
# Reset clones
|
||||
curl -X 'POST' 'https://dblab.company.com:1234/api/clone/smth/reset' -H "Verification-Token: $(gopass show -o 'dblab')" \
|
||||
|
||||
@@ -42,7 +42,7 @@ psql 'postgres' 'admin'
|
||||
psql --host 'prod.db.lan' --port '5432' --username 'postgres' --database 'postgres' --password
|
||||
psql -h 'host.fqnd' -p '5432' -U 'admin' -d 'postgres' -W
|
||||
psql 'postgresql://localhost:5433/games?sslmode=require'
|
||||
psql 'host=host.fqdn port=5467 user=admin dbname=postgres'
|
||||
PGPASSWORD='password' psql 'host=host.fqdn port=5467 user=admin dbname=postgres'
|
||||
psql "service=prod sslmode=require"
|
||||
|
||||
# List available databases
|
||||
|
||||
Reference in New Issue
Block a user