Commit 21e4cd39 authored by Eloy Duran's avatar Eloy Duran

Cleanup help banners.

parent 5ae76e23
......@@ -30,16 +30,16 @@ module Pod
end
def self.banner
"### Commands\n" +
"\n" +
" * setup\n" +
" * install\n" +
" * repo"
"To see help for the available commands run:\n" \
"\n" \
" * $ pod setup --help\n" \
" * $ pod install --help\n" \
" * $ pod repo --help"
end
def self.options
" --help Show help information\n" +
" --silent Print nothing\n" +
" --help Show help information\n" \
" --silent Print nothing\n" \
" --verbose Print more information while working"
end
......
......@@ -2,14 +2,14 @@ module Pod
class Command
class Install < Command
def self.banner
%{### Installing dependencies of a spec
%{Installing dependencies of a pod spec:
$ pod install [NAME]
Downloads all dependencies of the specified podspec file `NAME' and
creates an Xcode Pods library project of the specified podspec file
`NAME'. In case `NAME' is omitted, it defaults to `Podfile' in the
current working directory.
creates an Xcode Pods library project in `./Pods'. In case `NAME' is
omitted it defaults to either `Podfile' or `*.podspec' in the current
working directory.
}
end
......
......@@ -4,7 +4,7 @@ module Pod
class Command
class Repo < Command
def self.banner
%{### Managing spec-repos
%{Managing spec-repos:
$ pod help repo
......
......@@ -2,12 +2,14 @@ module Pod
class Command
class Setup < Command
def self.banner
%{### Setup CocoaPods environment
%{Setup CocoaPods environment:
$ pod setup
Creates a directory at `~/.cocoapods' which will hold your spec-repos.
This is where it will create a clone of the public `master' spec-repo.}
This is where it will create a clone of the public `master' spec-repo from:
https://github.com/alloy/cocoapods-specs}
end
def initialize(argv)
......
......@@ -2,7 +2,7 @@ module Pod
class Command
class Spec < Command
def self.banner
%{### Managing PodSpec files
%{Managing PodSpec files:
$ pod help spec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment