module Barista::Behaviors::Brew::ActionCommands

Included Modules

Direct including types

Defined in:

barista/behaviors/brew/action_commands.cr

Instance Method Summary

Instance methods inherited from module Barista::Behaviors::Software::Emittable

collect_error(arr : Array(String)) collect_error, collect_output(arr : Array(String)) collect_output, forward_error(&block : String -> ) forward_error, forward_output(&block : String -> ) forward_output, on_error
on_error(&block : String -> Nil)
on_error
, on_output
on_output(&block : String -> Nil)
on_output

Instance methods inherited from module Barista::Behaviors::Software::OS::Information

kernel : Kernel.class kernel

Instance methods inherited from module Barista::Behaviors::Software::OS::PlatformFamily

aix? aix?, amazon? amazon?, arch? arch?, debian? debian?, fedora? fedora?, freebsd? freebsd?, gentoo? gentoo?, macos? macos?, netbsd? netbsd?, openbsd? openbsd?, platform_short_name platform_short_name, redhat_based? redhat_based?, rhel6? rhel6?, rhel7? rhel7?, rhel8? rhel8?, rhel? rhel?, rpm_based? rpm_based?, smartos? smartos?, solaris? solaris?, suse? suse?

Instance methods inherited from module Barista::Behaviors::Software::OS::Linux::Information

memory memory, platform platform

Instance Method Detail

def block(name = nil, &block : -> ) #

[View source]
def command(str : String, **args) #

[View source]
def copy(src, dest, **args) #

[View source]
def emit(str : String) #

[View source]
def emit_error(str : String) #

[View source]
def link(src, dest, **args) #

[View source]
def mkdir(dir, **args) #

[View source]
def patch(path : String, **args) #

[View source]
def shellout(command : String, env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil) #

[View source]
def shellout(command : String, args : Array(String), env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil) #

[View source]
def success?(cmd, args, **opts) #

[View source]
def success?(cmd, **opts) #

[View source]
def sync(src, dest, **args, &block : Merger::Strategy) #

[View source]
def sync(src, dest, **args) #

[View source]
def template(**args) #

[View source]