Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Changed default configuration path and added the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillen Meijboom committed Apr 5, 2022
1 parent 000e958 commit c43d9c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Up

## Introduction

Small utility to run one or multiple commands continuously and restart them based on file changes.
Could be used to automatically restart a Go webserver for example.

## Configuration

The `up` command defaults to `up.toml` for configuration which has the following format:

```toml
[service.myapp]
cmd = "go run ./cmd/myapp"
watch = ["**/*.go"]
```
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod service;

#[derive(Debug, Parser)]
struct Args {
#[clap(default_value = ".dev/up.toml")]
#[clap(default_value = "up.toml")]
filename: PathBuf,
}

Expand Down

0 comments on commit c43d9c1

Please sign in to comment.