denoland / deno_task_shell

Cross-platform shell for deno task.
https://crates.io/crates/deno_task_shell
MIT License
108 stars 18 forks source link

Feature request: `head` & `tail` #92

Open dahlia opened 1 year ago

dahlia commented 1 year ago

It would be useful if deno_task_shell builds in head and tail commands with option -n. They usually can be used for picking up the first or last line of a command output, e.g.:

git tag --sort=-version:refname | head -n 1