1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

Merge pull request #1397 from ipfs/tk/public-name-commands

core/commands: Make IpnsCmd and PublishCmd public
This commit is contained in:
Juan Batiz-Benet
2015-06-19 20:17:21 -07:00
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ import (
u "github.com/ipfs/go-ipfs/util"
)
var ipnsCmd = &cmds.Command{
var IpnsCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Gets the value currently published at an IPNS name",
ShortDescription: `

View File

@ -51,7 +51,7 @@ Resolve the value of another name:
},
Subcommands: map[string]*cmds.Command{
"publish": publishCmd,
"resolve": ipnsCmd,
"publish": PublishCmd,
"resolve": IpnsCmd,
},
}

View File

@ -17,7 +17,7 @@ import (
var errNotOnline = errors.New("This command must be run in online mode. Try running 'ipfs daemon' first.")
var publishCmd = &cmds.Command{
var PublishCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Publish an object to IPNS",
ShortDescription: `