struct Zap::Commands::Dlx::Config

Defined in:

commands/dlx/config.cr

Constant Summary

SPACE_REGEX = /\s+/

Constructors

Instance Method Summary

Constructor methods inherited from struct Zap::Commands::Config

new(env : ::ENV.class = ENV, prefix : String | Nil = nil) new

Constructor methods inherited from module Zap::Utils::FromEnv

new(env : ::ENV.class = ENV, prefix : String | Nil = nil) new

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(env : ::ENV.class = ENV, prefix : String | Nil = nil) #

[View source]
def self.new(**fields : **T) forall T #

[View source]

Instance Method Detail

def args : Array(String) | Nil #

[View source]
def call : String | Nil #

[View source]
def command : String #

[View source]
def copy_with(**fields : **T) forall T #

[View source]
def create_command : String | Nil #

[View source]
def from_args(args : Array(String)) #

[View source]
def packages : Array(String) #

[View source]
def quiet : Bool #

[View source]