jaster.cli.core

The default core provided by JCLI, the 'heart' of your command line tool.

Members

Aliases

CommandLineSinkFunc
alias CommandLineSinkFunc = void delegate(string text)

See CommandLineSettings.sink

IgnoreFirstArg
alias IgnoreFirstArg = Flag!"ignoreFirst"

Classes

CommandLineInterface
class CommandLineInterface(Modules...)

Provides the functionality of parsing command line arguments, and then calling a command.

Functions

addCommandLineInterfaceService
ServiceInfo addCommandLineInterfaceService()
ServiceInfo[] addCommandLineInterfaceService(ServiceInfo[] services)

Imports

Nullable (from std.typecons)
public import std.typecons : Nullable;
Undocumented in source.

Interfaces

ICommandLineInterface
interface ICommandLineInterface

A service that allows commands to access the CommandLineInterface.parseAndExecute function of the command's CommandLineInterface.

Structs

CommandLineSettings
struct CommandLineSettings

Settings that can be provided to CommandLineInterface to change certain behaviour.

Meta