summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-02-21 03:08:05 +0000
committerThe Bundler Bot <bot@bundler.io>2017-02-21 03:08:05 +0000
commitc73088d93b90aae7207094259694113ca6e9b963 (patch)
treea5042bd7f376c7747b764f03e7f3bc721dc483c6 /man
parentea4926a54030871cf1b5af15e05043f837f2e7fd (diff)
parentae51d366d83b5914b31798a8e738731b51772f01 (diff)
downloadbundler-c73088d93b90aae7207094259694113ca6e9b963.tar.gz
Auto merge of #5374 - colby-swandale:bundle-info, r=indirect
Bundle info command This is a continuation of #5093 This PR adds a new command called `info` that is nearly identical to the `show` command, specifically `show <gem> --verbose`. Example: ``` › dbundler info rack * rack (2.0.1) Summary: a modular Ruby webserver interface Homepage: http://rack.github.io/ Path: /Users/colby/.gem/ruby/2.4.0/gems/rack-2.0.1 ``` There is also a option called `--path` that only prints the path to the gem ``` › dbundler info rack --path /Users/colby/.gem/ruby/2.4.0/gems/rack-2.0.1 ``` One noticeable difference between `info` and `show --verbose` is that i have removed the `outdated` functionality. This was made for several reasons: * There are currently problems with that functionality which have been raised in #5375 * We have a dedicated command called `outdated` for the user to get information about the outdated status of gems. * The outdated status requires an active internet connection and time to download the necessary information. I think not having to download anything and limiting `info` to just read information it already has would make for a more responsive and better user experience.
Diffstat (limited to 'man')
-rw-r--r--man/bundle-info.ronn17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/bundle-info.ronn b/man/bundle-info.ronn
new file mode 100644
index 0000000000..47e457aa3c
--- /dev/null
+++ b/man/bundle-info.ronn
@@ -0,0 +1,17 @@
+bundle-info(1) -- Show information for the given gem in your bundle
+=========================================================================
+
+## SYNOPSIS
+
+`bundle info` [GEM]
+ [--path]
+
+## DESCRIPTION
+
+Print the basic information about the provided GEM such as homepage, version,
+path and summary.
+
+## OPTIONS
+
+* `--path`:
+Print the path of the given gem