Skip to content

Commit 71a2ca7

Browse files
authored
Update README.md (#45)
1 parent 6148a50 commit 71a2ca7

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build status](https://github.com/lubomirkurcak/tend/workflows/release/badge.svg)](https://github.com/lubomirkurcak/tend/actions)
44
[![Crates.io](https://img.shields.io/crates/v/tend.svg)](https://crates.io/crates/tend)
5+
[![Snapcraft](https://snapcraft.io/tend/badge.svg)](https://snapcraft.io/tend)
56

67
### Installation
78

@@ -38,28 +39,17 @@ cargo build --release
3839
#### Basic
3940
Create a new job called `hello`:
4041
```sh
41-
tend create hello ping 8.8.8.8
42-
```
43-
44-
Run `hello`:
45-
```sh
42+
tend create "hello" ping 8.8.8.8
4643
tend run hello
4744
```
4845

49-
Press `Ctrl-C` to cancel all jobs and exit the program.
50-
51-
#### Management
46+
Press `Ctrl-C` to stop all jobs and exit the program.
5247

53-
List jobs:
48+
To view jobs enter:
5449
```sh
5550
tend list
5651
```
5752

58-
Reconfigure `hello` to always restart on completion (even successful):
59-
```sh
60-
tend create --overwrite hello --restart=always ping 8.8.8.8
61-
```
62-
6353
#### Available Programs
6454
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.
6555

@@ -74,7 +64,7 @@ tend create "time" cmd -- /C 'echo Time: %TIME%'
7464

7565
#### Groups
7666

77-
Create a job as a part of a group:
67+
You can create a job as a part of a group:
7868
```sh
7969
tend create "postgres" --group="dev" kubectl port-forward svc/postgres 5432:5432
8070
```

0 commit comments

Comments
 (0)