fission-codes / fission-cli

Rewrite it in Rust 🦀
Apache License 2.0
1 stars 1 forks source link

Add version flag #34

Open bgins opened 1 year ago

bgins commented 1 year ago

Summary

This is currently implemented in the Haskell version of CLI, but not in the rewrite.

Problem

There needs to be a way to check what version of the CLI you are using.

Solution

Create a flag/command that lists the current version of the CLI in use

BoisterousCoder commented 1 year ago

This seems to already Exist in the code. The following line adds it. In order to test it, just run cargo run -- -V. I think this issue should be closed. https://github.com/fission-codes/fission-cli/blob/27ca6efcf33972dea0e15eff927945f290672619/src/main.rs#L10