Sha256: 0a8002bad3e66991c334a611ce607c158eb2db614c9ccd6a2e51187d3fe81182

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

module Takelage
  # takelage info status
  class InfoStatus < SubCommandBase
    include LoggingModule
    include SystemModule
    include ConfigModule
    include DockerSocketScheme
    include InfoStatusLib
    include InfoStatusGit
    include InfoStatusGopass
    include InfoStatusGPG
    include InfoStatusSSH
    include InfoStatusHeader

    #
    # info status git
    #
    desc 'git', 'Check git status info'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Check git status info
    LONGDESC
    # Check git status info.
    def git
      exit info_status_git
    end

    #
    # info status gopass
    #
    desc 'gopass', 'Check gopass status info'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Check gopass status info
    LONGDESC
    # Check gopass status info.
    def gopass
      exit info_status_gopass
    end

    #
    # info status gpg
    #
    desc 'gpg', 'Check gpg status info'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    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
    #
    desc 'ssh', 'Check ssh status info'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Check ssh status info
    LONGDESC
    # Check ssh status info.
    def ssh
      exit info_status_ssh
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
takelage-0.26.4 lib/takelage/info/status/cli.rb
takelage-0.26.3 lib/takelage/info/status/cli.rb
takelage-0.26.2 lib/takelage/info/status/cli.rb