#task-automation #recovery #task #automation #cli

app tend

Quickly spin up/down groups of command-line tasks with automated recovery

15 releases

0.2.13 Oct 12, 2024
0.2.12 Sep 22, 2024
0.2.11 May 28, 2024
0.2.5 Apr 29, 2024
0.1.0 Apr 25, 2024

#169 in Development tools

Download history 97/week @ 2024-09-16 89/week @ 2024-09-23 29/week @ 2024-09-30 141/week @ 2024-10-07 34/week @ 2024-10-14 5/week @ 2024-10-21

213 downloads per month

MIT/Apache

49KB
1.5K SLoC

tend

Build status Crates.io Snapcraft

Installation

Download binaries if you are using Windows, macOS or Linux.

You can install tend using snap:

sudo snap install tend

Or with winget:

winget install lubomirkurcak.tend

Or using cargo:

cargo install tend

Or build from source:

git clone https://github.com/lubomirkurcak/tend
cd tend
cargo build --release

Usage

Basic

Create a new job called hello:

tend create "hello" ping 8.8.8.8
tend run hello

Press Ctrl-C to stop all jobs and exit the program.

To view jobs enter:

tend list

Available Programs

Based on your platform and configuration you will have access to different programs and shells. Make sure the programs are accessible from your current working directory.

For example, you could write this on Linux:

tend create "time" sh -- -c 'echo Time: $(date)'

to achieve something similar as this on Windows:

tend create "time" cmd -- /C 'echo Time: %TIME%'

Groups

You can create a job as a part of a group:

tend create "postgres" --group="dev" kubectl port-forward svc/postgres 5432:5432

Start all jobs from a specific group:

tend run --group "dev"

Dependencies

~10–20MB
~254K SLoC