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

ability for task to change how it prints output #2564

Open
airtonix opened this issue Sep 11, 2024 · 1 comment
Open

ability for task to change how it prints output #2564

airtonix opened this issue Sep 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@airtonix
Copy link
Contributor

#!/bin/bash

pong="${1:-pong}"

echo "Pong: $pong"

Running this results in

> mise run ping foo
[ping] $ /mnt/Projects/TheProject/.mise/tasks/ping foo
Pong: foo

It'd be great if we could do both of:

#!/bin/bash
# mise output_header=false

pong="${1:-pong}"

echo "Pong: $pong"
> mise run ping foo
Pong: foo

or

> mise run ping foo foo --no-output-header
Pong: foo
@airtonix airtonix added the enhancement New feature or request label Sep 11, 2024
@airtonix
Copy link
Contributor Author

probably related to #2043

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