Class Teamocil::CLI
In: lib/teamocil/cli.rb
Parent: Object

This class handles interaction with the `tmux` utility.

Methods

Attributes

layout  [RW] 
layouts  [RW] 

Public Class methods

Initialize a new run of `tmux`

@param argv [Hash] the command line parameters hash (usually `ARGV`). @param env [Hash] the environment variables hash (usually `ENV`).

Public Instance methods

Print an error message and exit the utility

@param msg [Mixed] something to print before exiting.

Return an array of available layouts

@param path [String] the path used to look for layouts

Parse the command line options

Print each layout on a single line

[Validate]