Module: Dotcrypt::Cli::Commands::Globals

Defined in:
lib/dotcrypt/CLI/commands/globals.rb

Class Method Summary collapse

Class Method Details

.included(thor) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/dotcrypt/CLI/commands/globals.rb', line 4

def self.included(thor)
  thor.class_eval do
    option :separator, aliases: :s,
                       type: :string,
                       default: "_",
                       desc: "Separator for flattening"

    option :file, aliases: :f,
                  type: :string,
                  default: ".env.jsonnet",
                  desc: "Jsonnet file to read."
  end
end