Module: MGit

Defined in:
lib/mgit.rb,
lib/mgit/cli.rb,
lib/mgit/output.rb,
lib/mgit/system.rb,
lib/mgit/appdata.rb,
lib/mgit/command.rb,
lib/mgit/version.rb,
lib/mgit/registry.rb,
lib/mgit/exceptions.rb,
lib/mgit/repository.rb,
lib/mgit/commands/add.rb,
lib/mgit/commands/log.rb,
lib/mgit/commands/grep.rb,
lib/mgit/commands/head.rb,
lib/mgit/commands/help.rb,
lib/mgit/commands/list.rb,
lib/mgit/commands/show.rb,
lib/mgit/commands/tags.rb,
lib/mgit/configuration.rb,
lib/mgit/commands/clone.rb,
lib/mgit/commands/fetch.rb,
lib/mgit/commands/config.rb,
lib/mgit/commands/remove.rb,
lib/mgit/commands/status.rb,
lib/mgit/commands/ffmerge.rb,
lib/mgit/commands/foreach.rb,
lib/mgit/commands/version.rb,
lib/mgit/commands/branches.rb,
lib/mgit/commands/remove_all.rb

Defined Under Namespace

Modules: AppData, Configuration, Output, Registry, System Classes: AddCommand, BranchesCommand, CLI, CloneCommand, Command, CommandUsageError, ConfigCommand, ConfigurationError, FFMergeCommand, FetchCommand, ForEachCommand, GitError, GrepCommand, HeadCommand, HelpCommand, ImplementationError, ListCommand, LogCommand, NoCommandError, RemoveAllCommand, RemoveCommand, Repository, ShowCommand, StatusCommand, SystemCommandError, TagsCommand, TooFewArgumentsError, TooManyArgumentsError, UnknownCommandError, UsageError, VersionCommand

Constant Summary collapse

VERSION =
'0.4.10'

Class Method Summary collapse

Class Method Details

.initObject



18
19
20
21
22
23
24
# File 'lib/mgit.rb', line 18

def self.init
  # Initialize AppData and migrate if necessary.
  AppData.update

  # Initialize Commands.
  MGit::Command.load_commands
end