class Cling::Parser

Overview

Handles parsing command line arguments into raw argument objects (see Result) which are used by the Executor at execution time.

Defined in:

cling/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : String, options : Options = Options.new) #

[View source]
def self.new(input : Array(String), options : Options = Options.new) #

[View source]

Instance Method Detail

def parse : Array(Result) #

Parses the command line arguments from the reader and returns a hash of the results.


[View source]