forked from rubygems/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
command-reference.erb
39 lines (27 loc) · 844 Bytes
/
command-reference.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: default
title: Command Reference
previous: /patterns
next: /specification-reference
---
What each `gem` command does, and how to use it.
This reference was automatically generated from RubyGems version <%= rubygems_version %>.
<% commands.each do |name, command| %>* [gem <%= name %>](#gem_<%= name %>)
<% end %>
<% commands.each do |name, command| %>
## gem <%= name %>
<%= htmlify(command.summary) %>
### Usage
<%= command.usage %> [options]
<%= options_list(command) %>
<% if command.arguments != "" %>
### Arguments
<% arguments = command.arguments.split("\n") %>
<% arguments.each do |argument| %><%= argument_list_item(argument) %>
<% end %>
<% end %>
<% if command.description && command.description != "" %>
### Description
<%= htmlify(command.description).gsub(/^ /, " ") %>
<% end %>
<% end %>