Skip to content

[FEAT] Text output like echo on cmd level #2921

Description

@DasJott

Description

I often have that code

- cmd: echo "starting xyz"
  slient: true

at the beginning of a task or also in between commands, just to have some output about what's going on.

I would love to have that task native, just like prompt but without the prompt or like desc on task level but it is printed.
Just like so:

install:
  desc: Builds and install the app
  cmds:
    - print: "starting build..."
    - cmd: go build *.go -o myapp
    - print: "installing to destination"
    - cmd: mv myapp /dest/myapp

Whether it is called print or echo doesn't really matter to me...

Activity

  1. changed the title [-]Text output like echo on cmd level[/-] [+][FEAT] Text output like echo on cmd level[/+] on Jul 15, 2026
  2. vmaerten commented on Jul 15, 2026

    @vmaerten
    Member

    Hello !
    You can already do this :

    install:
      desc: Builds and install the app
      silent: true
      cmds:
        -  echo "starting build..."
        - go build *.go -o myapp
        - echo "installing to destination"
        - mv myapp /dest/myapp

    have a good day

  3. added theissue type on Jul 15, 2026
  4. DasJott commented on Jul 16, 2026

    @DasJott
    Author

    Well yes, that works, BUT...

    The command itself is also printed before the actual output.

    What I meant was a substitute for

      - cmd: echo "starting build..."
        silent: true
    

    Would be nice to have exactly that, put out just by something like print or desc - from go .

      - print: "starting build..."
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for support.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions