YS-L / csvlens

Command line csv viewer
MIT License
2.49k stars 40 forks source link

Version number would be nice #21

Closed ondohotola closed 1 year ago

ondohotola commented 1 year ago

I tried -v -V --version but it doesn't seem to have a version number.

Maybe you want to add that?

YS-L commented 1 year ago

Good idea, will add that :+1:

ondohotola commented 1 year ago
cargo install csvlens
    Updating crates.io index
     Ignored package `csvlens v0.1.11` is already installed, use --force to override

All of csvlens -v | -V --version | --Version

show errors like

error: Found argument '-v' which wasn't expected, or isn't valid in this context

YS-L commented 1 year ago

The new option is available in the latest main branch but not yet published to crates.io. I plan to do that soon and it will be available as part of version 0.1.12.

The expected format for the option is:

  -V, --version                    Print version