Skip to content

Commit

Permalink
Add link to dasboard from 'apps describe' output
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares committed Nov 10, 2022
1 parent 0d259cc commit 62423eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/meroxa/root/apps/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package apps
import (
"context"
"errors"
"fmt"

"github.com/meroxa/cli/utils/display"

Expand Down Expand Up @@ -75,6 +76,8 @@ func (d *Describe) Execute(ctx context.Context) error {
d.logger.Info(ctx, output)
d.logger.JSON(ctx, app)

dashboardURL := fmt.Sprintf("https://dashboard.meroxa.io/apps/%s/detail", app.Name)
d.logger.Info(ctx, fmt.Sprintf(" ✨ To visualize your application, visit %s", dashboardURL))
return nil
}

Expand Down

0 comments on commit 62423eb

Please sign in to comment.