module Barista::Behaviors::Brew::ActionCommands
Included Modules
Direct including types
Defined in:
barista/behaviors/brew/action_commands.crInstance Method Summary
- #block(name = nil, &block : -> )
- #command(str : String, **args)
- #copy(src, dest, **args)
- #emit(str : String)
- #emit_error(str : String)
- #link(src, dest, **args)
- #mkdir(dir, **args)
- #patch(path : String, **args)
- #shellout(command : String, env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil)
- #shellout(command : String, args : Array(String), env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil)
- #success?(cmd, args, **opts)
- #success?(cmd, **opts)
- #sync(src, dest, **args, &block : Merger::Strategy)
- #sync(src, dest, **args)
- #template(**args)
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_erroron_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 shellout(command : String, env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil)
#
def shellout(command : String, args : Array(String), env : Hash(String, String) | Nil = nil, chdir : String | Nil = nil, as_user : String | Nil = nil)
#