Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Gert Goet
total_recall
Commits
a80ab830
Commit
a80ab830
authored
Mar 08, 2017
by
Gert Goet
🦀
Browse files
Options
Browse Files
Download
Plain Diff
--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
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
CHANGELOG.md
+2
-0
README.md
README.md
+1
-1
lib/total_recall.rb
lib/total_recall.rb
+2
-1
No files found.
CHANGELOG.md
View file @
a80ab830
# 0.7.0 / unreleased
*
'--version' and '-v' handled by version-subcommand
*
pass csv-file to ledger-subcommand:
```bash
...
...
README.md
View file @
a80ab830
...
...
@@ -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
...
...
lib/total_recall.rb
View file @
a80ab830
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment