CliCommandsEnum enum

Cli commands run by the user

Inheritance
Available extensions

Values

help → const CliCommandsEnum
const CliCommandsEnum(command: "help", options: [], description: "Display general or command-specific help and usage information")
init → const CliCommandsEnum
const CliCommandsEnum(command: "init", description: "Initialized a new repository", options: [CommandOption(optionEnum: CliCommandOptionsEnum.path, mandatory: false, defaultValue: …
add → const CliCommandsEnum
const CliCommandsEnum(command: "add", description: "Stage files or patterns for commit", options: [CommandOption(optionEnum: CliCommandOptionsEnum.filePattern, mandatory: false, de…
ignore → const CliCommandsEnum
const CliCommandsEnum(command: "ignore", description: "Add or remove entries in the ignore file", options: [CommandOption(optionEnum: CliCommandOptionsEnum.add, mandatory: false), …
log → const CliCommandsEnum
const CliCommandsEnum(command: "log", description: "Display commit history for a branch", options: [CommandOption(optionEnum: CliCommandOptionsEnum.branch, mandatory: false)])
status → const CliCommandsEnum
const CliCommandsEnum(command: "status", description: "Show the working tree status", options: [])
branch → const CliCommandsEnum
const CliCommandsEnum(command: "branch", description: "Display list of branches or create a new branch", options: [CommandOption(optionEnum: CliCommandOptionsEnum.branch, mandatory…
checkout → const CliCommandsEnum
const CliCommandsEnum(command: "checkout", description: "Switch to a different branch. Creates it if it doesn't exists", options: [CommandOption(optionEnum: CliCommandOptionsEn…
commit → const CliCommandsEnum
const CliCommandsEnum(command: "commit", description: "Record changes to the repository", options: [CommandOption(optionEnum: CliCommandOptionsEnum.message, mandatory: true)])
diff → const CliCommandsEnum
const CliCommandsEnum(command: "diff", description: "Show changes between commits, branches, or the working tree", options: [CommandOption(optionEnum: CliCommandOptionsEnum.thisBra…
merge → const CliCommandsEnum
const CliCommandsEnum(command: "merge", description: "Merge a branch into the current branch", options: [CommandOption(optionEnum: CliCommandOptionsEnum.branch, mandatory: true)])
remote → const CliCommandsEnum
const CliCommandsEnum(command: "remote", description: "Links a local repository to a remote repository", options: [CommandOption(optionEnum: CliCommandOptionsEnum.add, mandatory: f…
clone → const CliCommandsEnum
const CliCommandsEnum(command: "clone", description: "Downloads a repository from the remote repository to the local one", options: [CommandOption(optionEnum: CliCommandOptionsEnum…
push → const CliCommandsEnum
const CliCommandsEnum(command: "push", description: "Uploads a repository from the local repository to the remote one", options: [CommandOption(optionEnum: CliCommandOptionsEnum.re…
pull → const CliCommandsEnum
const CliCommandsEnum(command: "pull", description: "Updated local repository changes from remote repository", options: [CommandOption(optionEnum: CliCommandOptionsEnum.remoteName,…

Properties

command String
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
options List<CommandOption>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

cliCommandsMap Map<String, CliCommandsEnum>
getter/setter pair

Constants

values → const List<CliCommandsEnum>
A constant List of the values in this enum, in order of their declaration.