Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent mode #167

Open
JaseKoonce opened this issue Nov 5, 2024 · 0 comments
Open

Silent mode #167

JaseKoonce opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@JaseKoonce
Copy link

JaseKoonce commented Nov 5, 2024

Is your feature request related to a problem? Please describe

Occasionally the default maru runner message really detracts from the readability of the output. Because it just uses the first line to report the success it often doesn't really doesn't add much to my experience. For the most part I already add messages in my tasks so seeing these extra messages take away from the experience. Allowing for either a global or per task silent mode to get rid of the default messages would be really nice.

Current implantation:

task.yaml

tasks:
  - name: example-task
    actions:
      - cmd: echo "success message with greater detail"

Output : * note the duplication

     success message with greater detail                                                                                                                                
  ✔  Completed "echo \"success message with greater detail\""   

With Silent mode enabled:

task.yaml

default:
  SilentMode: true # global default

tasks:
  - name: example-task
   SilentMode: true # per task option
    actions:
      - cmd: echo "success message with greater detail"

Output:

     success message with greater detail                                                                                                                                
@JaseKoonce JaseKoonce added the enhancement ✨ New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant