diff --git a/src/bin/vip-db-phpmyadmin.ts b/src/bin/vip-db-phpmyadmin.ts index d08f3b000..c21d7ec6c 100755 --- a/src/bin/vip-db-phpmyadmin.ts +++ b/src/bin/vip-db-phpmyadmin.ts @@ -14,8 +14,9 @@ import { makeCommandTracker } from '../lib/tracker'; const examples = [ { - usage: 'vip db phpmyadmin @mysite.develop', - description: 'Open PhpMyAdmin console for the database of the @mysite.develop environment', + usage: 'vip @example-app.develop db phpmyadmin', + description: + "Generate access to a read-only phpMyAdmin web interface for the environment's database.", }, ]; diff --git a/src/bin/vip-db.ts b/src/bin/vip-db.ts index 8bf650f68..2e3d75d12 100755 --- a/src/bin/vip-db.ts +++ b/src/bin/vip-db.ts @@ -11,10 +11,13 @@ import command from '../lib/cli/command'; import { trackEvent } from '../lib/tracker'; void command( { usage: 'vip db' } ) - .command( 'phpmyadmin', 'Open PhpMyAdmin console for your application database' ) + .command( + 'phpmyadmin', + 'Generate access to a read-only phpMyAdmin web interface for an environment database.' + ) .example( - 'vip db phpmyadmin @mysite.develop', - 'Open PhpMyAdmin console for your database of the @mysite.develop environment' + 'vip @example-app.develop db phpmyadmin', + "Generate access to a read-only phpMyAdmin web interface for the environment's database." ) .argv( process.argv, async () => { await trackEvent( 'vip_db_command_execute' ); diff --git a/src/bin/vip.js b/src/bin/vip.js index 695bb0506..4ed98db55 100755 --- a/src/bin/vip.js +++ b/src/bin/vip.js @@ -36,7 +36,7 @@ const runCmd = async function () { .command( 'logs', 'Get logs from your VIP applications' ) .command( 'search-replace', 'Perform search and replace tasks on files' ) .command( 'slowlogs', 'Get slowlogs from your VIP applications' ) - .command( 'db', 'Run operations on your VIP application database' ) + .command( 'db', "Access an environment's database." ) .command( 'sync', 'Sync production to a development environment' ) .command( 'whoami', 'Display details about the currently logged-in user' ) .command( 'validate', 'Validate your VIP application and environment' )