Commit ed5374da authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

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

core/commands: Make IpnsCmd and PublishCmd public
parents 36a52811 40c6ffd4
......@@ -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: `
......
......@@ -51,7 +51,7 @@ Resolve the value of another name:
},
Subcommands: map[string]*cmds.Command{
"publish": publishCmd,
"resolve": ipnsCmd,
"publish": PublishCmd,
"resolve": IpnsCmd,
},
}
......@@ -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: `
......
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