Sha256: 7da486cf81cfae69f97ba01bc9c4335d4e69595edd136dad1b248d02502edde4

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true

module Dotcrypt::Cli::Commands::Globals
  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.dhall",
                    desc: "Dhall file to read."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dotcrypt-0.1.3 lib/dotcrypt/CLI/commands/globals.rb
dotcrypt-0.1.2 lib/dotcrypt/CLI/commands/globals.rb
dotcrypt-0.1.0 lib/dotcrypt/CLI/commands/globals.rb