class Parser

Overview

Parser for command line args to aptman This is mean to emulate how pacman works on Arch Linux

Defined in:

aptman/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(args : Array(String)) #

[View source]

Instance Method Detail

def add_operation(op : Operation) #

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

Make the array of command line args into an array of strings of args without dashes


[View source]
def get_targets #

Get the target names/patterns/files for the command


[View source]