docs: add usage description
This commit is contained in:
parent
a51d0ee809
commit
9e44df4973
19
README.md
19
README.md
@ -1,3 +1,20 @@
|
||||
# docker-tags
|
||||
|
||||
list all tags for a Docker image on a remote registry.
|
||||
List all tags for a Docker image on a remote registry.
|
||||
|
||||
## Usage
|
||||
|
||||
Build and install binaries into `/${CARGO_HOME}/bin` by default.
|
||||
|
||||
```
|
||||
cargo install --path . --locked
|
||||
```
|
||||
|
||||
> Cargo install ignores Cargo.lock by default.
|
||||
> Use `--locked` to match `cargo build --release` would build.
|
||||
|
||||
Change the location by `--root` option.
|
||||
|
||||
```
|
||||
cargo install --path --locked --root /usr/local
|
||||
```
|
Loading…
Reference in New Issue
Block a user