Skip to content

Commit

Permalink
Add link to dasboard from 'apps describe' output (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares authored Nov 14, 2022
1 parent d8303e8 commit 4e6c366
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("\n ✨ To visualize your application, visit %s", dashboardURL))
return nil
}

Expand Down

0 comments on commit 4e6c366

Please sign in to comment.