Skip to content

Commit

Permalink
chore(README): Update it
Browse files Browse the repository at this point in the history
Signed-off-by: PrajwalCH <prajwal.chapagain58@gmail.com>
  • Loading branch information
prajwalch committed Dec 27, 2023
1 parent 5a8bcf0 commit 60d746a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ Checkout the [releases](https://github.com/PrajwalCH/lll/releases) page for pre-
Usage: lll [options]

Options:
-d, --dir PATH directory to serve (default: current)
-p, --port PORT_NUM Port to bind (default: 2058)
-h, --help Display help and exit
-d, --dir PATH Directory to serve (default: current)
-p, --port PORT_NUM Port to bind (default: 2058)
-t, --cache-exp-time SECS Cache expiration time in seconds (default: 60)
-h, --help Display help and exit
```

## Building and running

Make sure you installed and setup the [rust toolchain](https://www.rust-lang.org/tools/install) first.

1. Clone this repo `git clone http://github.com/PrajwalCH/lll`
2. Jump to `lll` dir
3. Run `cargo build --release` to build it
4. Then run `cargo run -- [options]` or `./target/release/lll [options]` to start it
1. Clone this repo `git clone http://github.com/PrajwalCH/lll`.
2. Jump to `lll` dir.
3. Run `cargo build --release` to build it.
4. Then run `cargo run -- [options]` or `./target/release/lll [options]` to start it.
5. To install run `cargo install --path .` or you can use pre-built binary.

0 comments on commit 60d746a

Please sign in to comment.