Commit a80ab830 authored by Gert Goet's avatar Gert Goet 🦀

--version and -v handled by version-subcommand

Closes #1

See merge request !7
parents ab8c68f5 6a363a41
Pipeline #6903775 passed with stage
in 2 minutes and 1 second
# 0.7.0 / unreleased
* '--version' and '-v' handled by version-subcommand
* pass csv-file to ledger-subcommand:
```bash
......
......@@ -13,7 +13,7 @@ Instead, one creates a yaml-config consisting of:
## Example
After installation you run `total_recall init bank` to generate the following file:
```
```yaml
# file: bank.yml
:total_recall:
:version: 0.6.0
......
......@@ -252,9 +252,10 @@ module TotalRecall
template("simple.yml.tt", destination)
end
desc "version", "Show total_recall version"
desc "version, --version, -v", "Show total_recall version"
def version
puts TotalRecall::VERSION
end
map %w(-v --version) => :version
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment