forked from rubygems/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
command-reference.erb
40 lines (28 loc) · 885 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
40
---
layout: default
title: Command Reference
url: /command-reference
previous: /patterns
next: /rubygems-org-api
---
<em class="t-gray">What each `gem` command does, and how to use it.</em>
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 %>