Module: Swift::Playground::CLI

Extended by:
GLI::App
Includes:
Commands::Generate, Commands::New, Global::ErrorHandling
Defined in:
lib/swift/playground/cli/ui.rb,
lib/swift/playground/cli.rb,
lib/swift/playground/cli/definition.rb,
lib/swift/playground/cli/commands/new.rb,
lib/swift/playground/cli/commands/generate.rb,
lib/swift/playground/cli/shared_attributes.rb,
lib/swift/playground/cli/global/error_handling.rb

Overview

This class makes it possible to provide helper methods in a module that will be included inside the main Swift::Playground::CLI module.

It’s unfortunately a little magical, but its difficult to work around this due to the way the GLI dsl is not designed to use anywhere except at the top level (or at best, inside a module) and not in a class.

Defined Under Namespace

Modules: Commands, Definition, Global, SharedCreationSwitches, UI

Method Summary

Methods included from Definition

#definition, extended