Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
ed5374da
Commit
ed5374da
authored
9 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1397 from ipfs/tk/public-name-commands
core/commands: Make IpnsCmd and PublishCmd public
parents
36a52811
40c6ffd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
core/commands/ipns.go
core/commands/ipns.go
+1
-1
core/commands/name.go
core/commands/name.go
+2
-2
core/commands/publish.go
core/commands/publish.go
+1
-1
No files found.
core/commands/ipns.go
View file @
ed5374da
...
...
@@ -10,7 +10,7 @@ import (
u
"github.com/ipfs/go-ipfs/util"
)
var
i
pnsCmd
=
&
cmds
.
Command
{
var
I
pnsCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Gets the value currently published at an IPNS name"
,
ShortDescription
:
`
...
...
This diff is collapsed.
Click to expand it.
core/commands/name.go
View file @
ed5374da
...
...
@@ -51,7 +51,7 @@ Resolve the value of another name:
},
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
"publish"
:
p
ublishCmd
,
"resolve"
:
i
pnsCmd
,
"publish"
:
P
ublishCmd
,
"resolve"
:
I
pnsCmd
,
},
}
This diff is collapsed.
Click to expand it.
core/commands/publish.go
View file @
ed5374da
...
...
@@ -17,7 +17,7 @@ import (
var
errNotOnline
=
errors
.
New
(
"This command must be run in online mode. Try running 'ipfs daemon' first."
)
var
p
ublishCmd
=
&
cmds
.
Command
{
var
P
ublishCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Publish an object to IPNS"
,
ShortDescription
:
`
...
...
This diff is collapsed.
Click to expand it.
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