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
f2c30689
Commit
f2c30689
authored
Nov 13, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix help banners
parent
6cf539af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
repo.rb
lib/cocoapods/command/repo.rb
+10
-9
spec.rb
lib/cocoapods/command/spec.rb
+6
-6
No files found.
lib/cocoapods/command/repo.rb
View file @
f2c30689
...
@@ -6,18 +6,19 @@ module Pod
...
@@ -6,18 +6,19 @@ module Pod
def
self
.
banner
def
self
.
banner
%{Managing spec-repos:
%{Managing spec-repos:
$ pod
help repo
$ pod
repo add NAME URL
pod repo add NAME URL
Clones `URL' in the local spec-repos directory at `~/.cocoapods'. The
Clones `URL' in the local spec-repos directory at `~/.cocoapods'. The
remote can later be referred to by `NAME'.
remote can later be referred to by `NAME'.
pod repo update NAME
$ pod repo update NAME
Updates the local clone of the spec-repo `NAME'. If `NAME' is omitted
this will update all spec-repos in `~/.cocoapods'.
pod repo set-url NAME URL
Updates the local clone of the spec-repo `NAME'. If `NAME' is omitted
Updates the remote `URL' of the spec-repo `NAME'.}
this will update all spec-repos in `~/.cocoapods'.
$ pod repo set-url NAME URL
Updates the remote `URL' of the spec-repo `NAME'.}
end
end
extend
Executable
extend
Executable
...
...
lib/cocoapods/command/spec.rb
View file @
f2c30689
...
@@ -4,14 +4,14 @@ module Pod
...
@@ -4,14 +4,14 @@ module Pod
def
self
.
banner
def
self
.
banner
%{Managing PodSpec files:
%{Managing PodSpec files:
$ pod
help spec
$ pod
spec create NAME
pod spec create NAME
Creates a PodSpec, in the current working dir, called `NAME.podspec'.
Creates a PodSpec, in the current working dir, called `NAME.podspec'.
pod spec lint NAME.podspec
$ pod spec lint NAME.podspec
Validates `NAME.podspec'. In case `NAME.podspec' is omitted, it defaults
to `*.podspec' in the current working dir.}
Validates `NAME.podspec'. In case `NAME.podspec' is omitted, it defaults
to `*.podspec' in the current working dir.}
end
end
def
initialize
(
argv
)
def
initialize
(
argv
)
...
...
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