class AzuCLI::Migration

Included Modules

Defined in:

azu_cli/migration.cr

Constant Summary

ARGS = "-r Users -m post"
DESCRIPTION = "#{bold("Azu - Scaffold")} - Generates a migration for your application\n\n"
OUTPUT_DIR = "./"

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 fields : String #

def fields=(v : String) : String #

def fields=(v : Nil) #

nil assignments are always ignored


def fields? : String | Nil #

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 register_option_fields(parser) #

[View source]
def register_option_help(parser) #

def register_option_resource(parser) #

[View source]
def register_option_version(parser) #

def resource : String #

def resource=(v : String) : String #

def resource=(v : Nil) #

nil assignments are always ignored


def resource? : String | Nil #

def run(input, args) #

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

[app flow] step3 : main routine


[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? #