class

DeviceDetector::CLI::Command

Inherits Reference < Object

Implements the device-detector command without terminating the process, allowing applications and specs to provide their own IO streams.

Constants

DEFAULT_WORKERS = System.cpu_count

Constructors

new(input : IO = STDIN, output : IO = STDOUT, error : IO = STDERR)
Source

Instance methods

run(arguments : Array(String)) : Int32

Parses command-line arguments and returns a process exit status.

Source