module DA

Extended Modules

Defined in:

da.cr
da/CLI.cr
da/Cache.cr
da/Error.cr
da/Exit.cr
da/File.cr
da/File_System.cr
da/Git.cr
da/Help.cr
da/Inspect.cr
da/Process.cr
da/Repo.cr
da/String.cr
da/VoidLinux.cr

Constant Summary

BOLD_PATTERN = /BOLD{{([^\}]+)}}/
PATTERN = /\{\{([^\}]+)\}\}/

Instance Method Summary

Instance Method Detail

def app_dir : String #

[View source]
def argv?(args : Array(String), *types) #

[View source]
def bold(raw : String) #

[View source]
def colorize(raw : String, color : Symbol) #

[View source]
def exit!(exit_code : Int32) #

[View source]
def exit!(s : Process::Status) #

[View source]
def exit!(x : Int32, *args : String) #

[View source]
def exit_on_error(*args) #

[View source]
def exit_with_error!(msg : String, exit_code : Int32) #

[View source]
def exit_with_error!(exit_code : Int32, msg : String) #

[View source]
def exit_with_error!(msg : String) #

[View source]
def first_repo #

[View source]
def git_clone_or_pull(url : String) #

[View source]
def git_is_clean? #

This is 'hack'-y for now.


[View source]
def git_is_dirty? #

[View source]
def green(raw : String) #

[View source]
def green!(*args) #

[View source]
def highlight_exception(e : Exception) : String #

[View source]
def inspect!(*args) #

[View source]
def is_development? #

[View source]
def next_dirty_repo #

[View source]
def next_repo #

[View source]
def orange(raw : String) #

[View source]
def orange!(*args) #

[View source]
def print_help(*substring) #

[View source]
def public_dir_permissions(public_dir : String) #

[View source]
def red(raw : String) #

[View source]
def red!(*args) #

[View source]
def repo_names #

[View source]
def success!(cmd : String, args : Array(String)) #

[View source]
def success!(full_cmd : String) #

[View source]
def success!(s : Process::Status) #

[View source]
def success?(full_cmd : String) #

[View source]
def success?(stat : Process::Status) #

[View source]
def system!(cmd : String, args : Array(String)) #

[View source]
def system!(cmd : String) #

[View source]
def text_file?(s : String) #

[View source]