Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
YS-L committed Jan 9, 2024
1 parent 13cced5 commit 1892c4e
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,38 @@ Key | Action
### Optional parameters

* `-d <delimiter>`: Use this delimiter when parsing the CSV
(e.g. `csvlens file.csv -d $'\t'`).
(e.g. `csvlens file.csv -d '\t'`).

Specify `-d auto` to auto-detect the delimiter.

* `-i, --ignore-case`: Ignore case when searching. This flag is ignored if any
* `-t`, `--tab-separated`: Use tab as the delimiter (when specified, `-d` is ignored).

* `-i`, `--ignore-case`: Ignore case when searching. This flag is ignored if any
uppercase letters are present in the search string.

* `--echo-column <column_name>`: Print the value of this column at the selected
row to stdout on `Enter` key and then exit.

## Installation

### Direct Download
### Direct download

You can download the `tar.xz` or `zip` file matching your operating system from the
[releases page](https://github.com/YS-L/csvlens/releases), extract it and execute the `csvlens`
binary.

### Homebrew

You can download the `tar.xz` matching your operating system from the [releases page](https://github.com/YS-L/csvlens/releases), extract it and execute the `csvlens` binary.
For macOS, `csvlens` is available on [Homebrew](https://formulae.brew.sh/formula/csvlens). You can
install it using:
```
brew install csvlens
```

### Using Cargo
### Cargo

`csvlens` is available on [crates.io](https://crates.io/crates/csvlens), so you
can install it using:
If you have [Rust](https://www.rust-lang.org/tools/install) installed, `csvlens` is available on
[crates.io](https://crates.io/crates/csvlens) and you can install it using:
```
cargo install csvlens
```
Expand Down

0 comments on commit 1892c4e

Please sign in to comment.