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

Cleanup help banners.

parent 5ae76e23
...@@ -30,16 +30,16 @@ module Pod ...@@ -30,16 +30,16 @@ module Pod
end end
def self.banner def self.banner
"### Commands\n" + "To see help for the available commands run:\n" \
"\n" + "\n" \
" * setup\n" + " * $ pod setup --help\n" \
" * install\n" + " * $ pod install --help\n" \
" * repo" " * $ pod repo --help"
end end
def self.options def self.options
" --help Show help information\n" + " --help Show help information\n" \
" --silent Print nothing\n" + " --silent Print nothing\n" \
" --verbose Print more information while working" " --verbose Print more information while working"
end end
......
...@@ -2,14 +2,14 @@ module Pod ...@@ -2,14 +2,14 @@ module Pod
class Command class Command
class Install < Command class Install < Command
def self.banner def self.banner
%{### Installing dependencies of a spec %{Installing dependencies of a pod spec:
$ pod install [NAME] $ pod install [NAME]
Downloads all dependencies of the specified podspec file `NAME' and Downloads all dependencies of the specified podspec file `NAME' and
creates an Xcode Pods library project of the specified podspec file creates an Xcode Pods library project in `./Pods'. In case `NAME' is
`NAME'. In case `NAME' is omitted, it defaults to `Podfile' in the omitted it defaults to either `Podfile' or `*.podspec' in the current
current working directory. working directory.
} }
end end
......
...@@ -4,7 +4,7 @@ module Pod ...@@ -4,7 +4,7 @@ module Pod
class Command class Command
class Repo < Command class Repo < Command
def self.banner def self.banner
%{### Managing spec-repos %{Managing spec-repos:
$ pod help repo $ pod help repo
......
...@@ -2,12 +2,14 @@ module Pod ...@@ -2,12 +2,14 @@ module Pod
class Command class Command
class Setup < Command class Setup < Command
def self.banner def self.banner
%{### Setup CocoaPods environment %{Setup CocoaPods environment:
$ pod setup $ pod setup
Creates a directory at `~/.cocoapods' which will hold your spec-repos. 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 end
def initialize(argv) def initialize(argv)
......
...@@ -2,7 +2,7 @@ module Pod ...@@ -2,7 +2,7 @@ module Pod
class Command class Command
class Spec < Command class Spec < Command
def self.banner def self.banner
%{### Managing PodSpec files %{Managing PodSpec files:
$ pod help spec $ 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