Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
21e4cd39
Commit
21e4cd39
authored
Sep 17, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup help banners.
parent
5ae76e23
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
command.rb
lib/cocoapods/command.rb
+7
-7
install.rb
lib/cocoapods/command/install.rb
+4
-4
repo.rb
lib/cocoapods/command/repo.rb
+1
-1
setup.rb
lib/cocoapods/command/setup.rb
+4
-2
spec.rb
lib/cocoapods/command/spec.rb
+1
-1
No files found.
lib/cocoapods/command.rb
View file @
21e4cd39
...
@@ -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
...
...
lib/cocoapods/command/install.rb
View file @
21e4cd39
...
@@ -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
...
...
lib/cocoapods/command/repo.rb
View file @
21e4cd39
...
@@ -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
...
...
lib/cocoapods/command/setup.rb
View file @
21e4cd39
...
@@ -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
)
...
...
lib/cocoapods/command/spec.rb
View file @
21e4cd39
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment