summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-06-05 16:34:33 +0800
committerAndre Arko <andre@arko.net>2015-06-05 16:34:33 +0800
commit91794123f842d3fd439a75a43da7e341f8e0cde3 (patch)
tree6dfa3cedaaab71633f1ca872ac008f580c623093
parent2a54b7924b0d60f1774bf5db75f46e7946d10aec (diff)
downloadbundler-91794123f842d3fd439a75a43da7e341f8e0cde3.tar.gz
explicitly alias i, c, and e commands
-rw-r--r--lib/bundler/cli.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index e679e5e172..8ac5e58e31 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -97,6 +97,7 @@ module Bundler
"Use the specified gemfile instead of Gemfile"
method_option "path", :type => :string, :banner =>
"Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine"
+ map "c" => "check"
def check
require 'bundler/cli/check'
Check.new(options).run
@@ -152,7 +153,7 @@ module Bundler
"Exclude gems that are part of the specified named group."
method_option "with", :type => :array, :banner =>
"Include gems that are part of the specified named group."
-
+ map "i" => "install"
def install
require 'bundler/cli/install'
Install.new(options.dup).run
@@ -269,6 +270,7 @@ module Bundler
bundle exec you can require and call the bundled gems as if they were installed
into the system wide Rubygems repository.
D
+ map "e" => "exec"
def exec(*args)
require 'bundler/cli/exec'
Exec.new(options, args).run