struct Zap::Commands::Install::Config

Defined in:

commands/install/config.cr

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 added_packages : Array(String) #

[View source]
def check_peer_dependencies : Bool | Nil #

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

[View source]
def force_metadata_retrieval : Bool #

[View source]
def frozen_lockfile : Bool #

[View source]
def ignore_scripts : Bool #

[View source]
def merge_lockfile(lockfile : Lockfile) #

[View source]
def merge_pkg(package : Package) #

[View source]
def omit : Array(Omit) #

[View source]
def omit_dev? #

[View source]
def omit_optional? #

[View source]
def omit_peer? #

[View source]
def prefer_offline : Bool #

[View source]
def print_logs : Bool #

[View source]
def refresh_install : Bool #

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

[View source]
def save : Bool #

[View source]
def save_dev : Bool #

[View source]
def save_exact : Bool #

[View source]
def save_optional : Bool #

[View source]
def save_prod : Bool #

[View source]
def strategy : InstallStrategy #

[View source]
def strategy? : InstallStrategy | Nil #

[View source]
def update_all : Bool #

[View source]
def update_to_latest : Bool #

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

[View source]