Skip to content

Commit

Permalink
Update README with latest CLI format for how args are passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-hohn committed Mar 25, 2023
1 parent 10ace8f commit bd4dcfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Inspired by Woodhouse from the Archer TV series. This repo is a collection of sc
## Woodhouse, organize my files!
With the release binary:
```
$ ./organizemyfiles.bin --in=/path/to/directory/with/unorganized/files/ --out=/path/to/organized/directory/
$ ./woodhouse.bin organize /path/to/directory/with/unorganized/files/ /path/to/organized/directory/
Copied /path/to/directory/with/unorganized/files/foo.md to /path/to/organized/directory/2018/jan_to_march/foo.md
Copied /path/to/directory/with/unorganized/files/bar/lorem.ipsum to /path/to/organized/directory/2018/jan_to_march/lorem.ipsum
```

In development:
```
$ go run organizemyfiles/main.go --in=/path/to/directory/with/unorganized/files/ --out=/path/to/organized/directory/
$ go run main.go organize path/to/directory/with/unorganized/files/ path/to/organized/directory/
Copied /path/to/directory/with/unorganized/files/foo.md to /path/to/organized/directory/2018/jan_to_march/foo.md
Copied /path/to/directory/with/unorganized/files/bar/lorem.ipsum to /path/to/organized/directory/2018/jan_to_march/lorem.ipsum
```
Expand Down

0 comments on commit bd4dcfd

Please sign in to comment.