Module: Dotcrypt::Cli::Commands::Exec

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

Defined Under Namespace

Classes: Handler

Class Method Summary collapse

Class Method Details

.included(thor) ⇒ Object



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

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

    desc "exec COMMAND", "exec command a command with env"

    def exec(*command) = Handler.new(command, **options).call
  end
end