class AzuCLI::Dev

Included Modules

Defined in:

azu_cli/dev.cr

Constant Summary

DESCRIPTION = "#{bold("Azu - Dev")} - Runs and recompiles project\n\n Runs your application locally, watches for files changes and runs your \n app in the background \n\n #{underline("Note")}\n \n Must have targets define in your `shard.yml`\n\n Eg.\n targets:\n azu: \n main: ./src/azu_cli.cr"

Instance Method Summary

Instance methods inherited from module AzuCLI::Command

project_name : String project_name, run run, show_usage show_usage, show_version show_version

Class methods inherited from module AzuCLI::Command

run(argv = ARGV) run

Instance Method Detail

def files #

[View source]
def help : Bool #

def help=(v : Bool) : Bool #

def help=(v : Nil) #

nil assignments are always ignored


def help? #

def not_exists?(path, &) #

[View source]
def on(event : String) #

[View source]
def prod : Bool | Nil #

[View source]
def prod=(v : Bool) : Bool #

def prod=(v : Nil) #

nil assignments are always ignored


def prod? : Bool #

def register_option_help(parser) #

def register_option_prod(parser) #

[View source]
def register_option_run_args(parser) #

[View source]
def register_option_version(parser) #

def run(input, args) #

[View source]
def run #
Description copied from module Opts

[app flow] step3 : main routine


[View source]
def run_args : String #

def run_args=(v : String) : String #

def run_args=(v : Nil) #

nil assignments are always ignored


def run_args? : String | Nil #

def run_command #

[View source]
def shard(path = "./shard.yml") #

[View source]
def show_usage #

[View source]
def version : Bool #

def version=(v : Bool) : Bool #

def version=(v : Nil) #

nil assignments are always ignored


def version? #