chore(snippets): improve exemplary commands

This commit is contained in:
Michele Cereda
2024-12-08 17:58:16 +01:00
parent 4d2dd51211
commit 7759eb0e01
2 changed files with 2 additions and 1 deletions

View File

@@ -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')" \

View File

@@ -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