lib/takelage/info/status/cli.rb in takelage-0.27.0 vs lib/takelage/info/status/cli.rb in takelage-0.27.1
- old
+ new
@@ -11,13 +11,25 @@
include InfoStatusLib
include InfoStatusGit
include InfoStatusGopass
include InfoStatusGPG
include InfoStatusSSH
- include InfoStatusHeader
+ include InfoStatusBar
#
+ # info status bar
+ #
+ desc 'bar', 'Print status info bar'
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
+ Print status info bar
+ LONGDESC
+ # Print status info bar.
+ def bar
+ say info_status_bar
+ end
+
+ #
# info status git
#
desc 'git', 'Check git status info'
long_desc <<-LONGDESC.gsub("\n", "\x5")
Check git status info
@@ -47,21 +59,9 @@
Check gpg status info
LONGDESC
# Check gpg status info.
def gpg
exit info_status_gpg
- end
-
- #
- # info status header
- #
- desc 'header', 'Print status info header'
- long_desc <<-LONGDESC.gsub("\n", "\x5")
- Print status info header
- LONGDESC
- # Print status info header.
- def header
- say info_status_header
end
#
# info status ssh
#