Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
harness
master
Harness
Cli
Subcommand
Built with Crystal 1.9.2
2023-10-07 21:45:28 UTC
class
Harness::Cli
Harness::Cli
Reference
Object
Defined in:
harness.cr
Class Method Summary
.add_error
(message : String)
.setup
(stdin : IO, stdout : IO, stderr : IO)
.stderr
: IO
.stdin
: IO
.stdout
: IO
Instance Method Summary
#error
(message : String | Nil =
nil
)
#main
(argv : Array(String))
Class Method Detail
def self.
add_error
(message : String)
#
[
View source
]
def self.
setup
(stdin : IO, stdout : IO, stderr : IO)
#
[
View source
]
def self.
stderr
: IO
#
[
View source
]
def self.
stdin
: IO
#
[
View source
]
def self.
stdout
: IO
#
[
View source
]
Instance Method Detail
def
error
(message : String | Nil =
nil
)
#
[
View source
]
def
main
(argv : Array(String))
#
[
View source
]