dub.commandline

Defines the behavior of the DUB command line client.

Members

Classes

AddCommand
class AddCommand
AddLocalCommand
class AddLocalCommand
Undocumented in source.
AddOverrideCommand
class AddOverrideCommand
AddPathCommand
class AddPathCommand
Undocumented in source.
BuildCommand
class BuildCommand
Undocumented in source.
CleanCachesCommand
class CleanCachesCommand
CleanCommand
class CleanCommand
Undocumented in source.
Command
class Command

Base class for all commands.

CommandArgs
class CommandArgs

Encapsulates a set of application arguments.

ConvertCommand
class ConvertCommand
DescribeCommand
class DescribeCommand
Undocumented in source.
DustmiteCommand
class DustmiteCommand
FetchCommand
class FetchCommand
Undocumented in source.
FetchRemoveCommand
class FetchRemoveCommand
Undocumented in source.
GenerateCommand
class GenerateCommand
Undocumented in source.
HelpCommand
class HelpCommand
InitCommand
class InitCommand
LintCommand
class LintCommand
Undocumented in source.
ListCommand
class ListCommand
Undocumented in source.
ListOverridesCommand
class ListOverridesCommand
Undocumented in source.
PackageBuildCommand
class PackageBuildCommand
RegistrationCommand
class RegistrationCommand
RemoveCommand
class RemoveCommand
Undocumented in source.
RemoveLocalCommand
class RemoveLocalCommand
Undocumented in source.
RemoveOverrideCommand
class RemoveOverrideCommand
Undocumented in source.
RemovePathCommand
class RemovePathCommand
Undocumented in source.
RunCommand
class RunCommand
Undocumented in source.
SearchCommand
class SearchCommand
Undocumented in source.
TestCommand
class TestCommand
Undocumented in source.
UpgradeCommand
class UpgradeCommand
Undocumented in source.

Functions

commandNameArgument
string commandNameArgument(string[] args)

Extract the command name from the argument list

getCommands
CommandGroup[] getCommands()

Retrieves a list of all available commands.

runDubCommandLine
int runDubCommandLine(string[] args)

Processes the given command line and executes the appropriate actions.

Structs

CommandGroup
struct CommandGroup

Encapsulates a group of commands that fit into a common category.

CommandLineHandler
struct CommandLineHandler

Handles the Command Line options and commands.

CommonOptions
struct CommonOptions

Contains and parses options common to all commands.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Matthias Dondorff, Sönke Ludwig