File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 22
33** nof** is a tiny CLI tool that runs shell commands defined in simple YAML templates.
44
5- :exclamation : This is a working in progress, so the code might be messy, tests might be lacking
6- and things might break frequently.
5+ :exclamation : This is a work in progress, so the code might be messy, tests might be lacking
6+ and things might break frequently. If you want a better version that has many more features visit [ this] ( https://github.com/go-task/task ) repo.
7+ I just wanted something much more minimalistic that has a more readable and simpler yaml syntax.
78
89## Example
910
@@ -22,32 +23,36 @@ Use the following YAML file:
2223# find.yaml
2324find :
2425 - " /var/log"
25- - " \" *.log\" "
26+ - " *.log"
2627 - " -mtime"
2728 - " -3"
2829` ` `
2930
3031Then run:
3132
3233` ` `
33- nof /path/to /find.yaml
34+ nof ./examples /find.yaml
3435```
3536
3637## Installation
3738
38391 . Clone the repo:
3940
4041 ```
41- git clone https://github.com/yourusername /nof.git
42+ git clone https://github.com/hosmir /nof.git
4243 cd nof
4344 ```
4445
45462 . Build the binary (requires Go):
4647
4748 ```
48- go build -o nof
49+ go build -o ./bin/ -v ./...
4950 ```
5051
52+ OR
53+
54+ Just download the binary from the [ releases] ( /releases ) page and add it to your PATH. (The binary is built on for linux amd64)
55+
5156## Usage
5257
5358```
Original file line number Diff line number Diff line change 11find :
22 - " /var/log"
3- - " \" *.log\" "
3+ - " *.log"
44 - " -mtime"
55 - " -3"
You can’t perform that action at this time.
0 commit comments