class Teletube::Context

Overview

Keeps the details of how the CLI tool was called.

Defined in:

teletube/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def command : String | Nil #

[View source]
def command=(command : String | Nil) #

[View source]
def errors : Array(String) #

[View source]
def errors=(errors : Array(String)) #

[View source]
def filename : String | Nil #

[View source]
def filename=(filename : String | Nil) #

[View source]
def params : Hash(String, JSON::Any) #

[View source]
def params=(params : Hash(String, JSON::Any)) #

[View source]
def resource : String | Nil #

[View source]
def resource=(resource : String | Nil) #

[View source]
def run=(run : Bool) #

[View source]
def run? : Bool #

[View source]
def verbose=(verbose : Bool) #

[View source]
def verbose? : Bool #

[View source]