Module: Dotcrypt::Cli::Commands::ENV

Included in:
App
Defined in:
lib/dotcrypt/CLI/commands/env.rb

Class Method Summary collapse

Class Method Details

.included(thor) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/dotcrypt/CLI/commands/env.rb', line 4

def self.included(thor)
  thor.class_eval do
    include Dotcrypt::Cli::Commands::Globals

    desc "env", "prints exports for ennv"

    def env = Dotcrypt::Cli::Commands::Show::Handler.new(**options.merge(output: :env)).call
  end
end