Skip to content

Commit

Permalink
chore: improve display of commands
Browse files Browse the repository at this point in the history
so that they can be copy/pasted more easily

Signed-off-by: Yves Brissaud <[email protected]>
  • Loading branch information
eunomie committed Oct 10, 2024
1 parent 306d155 commit d33bd5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/commands/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,10 @@ func run(ctx context.Context, out io.Writer, src string, rk *runkit.RunKit, acti

_, _ = fmt.Fprintln(out, tui.Markdown(fmt.Sprintf(`
> **Running the following command:**
>
> %s
%s
---
`, runnable.Command)))

return runnable.Run(ctx)
Expand Down

0 comments on commit d33bd5d

Please sign in to comment.