diff options
| author | Paul Buetow <paul@buetow.org> | 2025-11-01 23:01:07 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-11-01 23:01:07 +0200 |
| commit | 28ccc70feeab8aef7bcafaea75e288e6e58c2034 (patch) | |
| tree | 13535c7ae159147e19a7f5b91d62e6993a407044 | |
| parent | a1476100869aed971cdba1328a7e35bc5514ee07 (diff) | |
Add version v0.1.0 and improve import error handlingv0.1.0
Amp-Thread-ID: https://ampcode.com/threads/T-9aec59d6-cd27-4607-ac11-baac5f2ca758
Co-authored-by: Amp <amp@ampcode.com>
| -rwxr-xr-x | geheim.rb | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8,6 +8,8 @@ require 'io/console' require 'openssl' require 'json' +VERSION = 'v0.1.0' + # Configuration class Config config_file = "#{ENV['HOME']}/.config/geheim.json" @@ -589,6 +591,7 @@ class CLI rm SEARCHTERM sync|status|commit|reset|fullcommit shred + version help shell HELP @@ -657,6 +660,9 @@ class CLI git_sync when 'shred' geheim.shred_all_exported + when 'version' + log "geheim #{VERSION}" + 0 when 'last' puts last_result last_result |
