Skip to content

Commit

Permalink
Add ddev status as alias of ddev describe for #2195 (#2955)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Apr 24, 2021
1 parent e41c2f0 commit db7efa4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/ddev/cmd/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ import (

// DescribeCommand represents the `ddev config` command
var DescribeCommand = &cobra.Command{
Use: "describe [projectname]",
Short: "Get a detailed description of a running ddev project.",
Use: "describe [projectname]",
Aliases: []string{"status", "st", "desc"},
Short: "Get a detailed description of a running ddev project.",
Long: `Get a detailed description of a running ddev project. Describe provides basic
information about a ddev project, including its name, location, url, and status.
It also provides details for MySQL connections, and connection information for
additional services like MailHog and phpMyAdmin. You can run 'ddev describe' from
a project directory to describe that project, or you can specify a project to describe by
running 'ddev describe <projectname>.`,
Example: "ddev describe\nddev describe <projectname>",
Example: "ddev describe\nddev describe <projectname>\nddev status\nddev st",
Run: func(cmd *cobra.Command, args []string) {
if len(args) > 1 {
util.Failed("Too many arguments provided. Please use 'ddev describe' or 'ddev describe [projectname]'")
Expand Down

0 comments on commit db7efa4

Please sign in to comment.