kubo/core/commands
W. Trevor King 40c6ffd4fe core/commands: Make IpnsCmd and PublishCmd public
ipfs-shell [1] accesses the Command objects directly to construct
requests for an external IPFS daemon API.  This isn't a terribly
robust approach, because it doesn't handle version differences between
the version of go-ipfs used to build the daemon and the version used
to build the ipfs-shell-consuming application.  But for cases where
you can get those APIs to match it works well.  Making these two
commands public allows us to write ipfs-shell wrappers for them.
Until we figure out how to get ipfs-shell working without access to
core/commands, I think the best approach is to make future command
objects and their returned structures public, and to go back and
expose existing commands/structures on an as-needed basis.

In this case, I need the public PublishCmd for the Docker-registry
storage driver, and I made the IpnsCmd public at the same time to stay
consistent for both 'ipfs name ...' sub-commands.

[1]: https://github.com/whyrusleeping/ipfs-shell

License: MIT
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-06-19 02:44:03 -07:00
..
internal/incfusever core/commands/internal/slice_util: Remove this unused package 2015-05-02 08:30:32 -07:00
add.go change pinning to happen in a callback 2015-05-28 08:52:20 -07:00
bitswap.go make bitswap commands error out properly offline 2015-05-21 22:41:44 -07:00
block.go move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
bootstrap.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
cat.go core: add context.Context param to core.Resolve() 2015-05-08 03:14:32 +02:00
commands.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
config.go config set: allow arbitrary json input 2015-05-10 08:28:35 -04:00
dht.go move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
diag_test.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
diag.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
dns.go namesys/dns: Pluggable lookupTXT field 2015-05-20 08:40:44 -07:00
get.go core: add context.Context param to core.Resolve() 2015-05-08 03:14:32 +02:00
id.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
ipns.go core/commands: Make IpnsCmd and PublishCmd public 2015-06-19 02:44:03 -07:00
log.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
ls.go golint on core/commands 2015-06-03 18:44:28 +07:00
mount_darwin.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
mount_nofuse.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
mount_unix.go golint on core/commands 2015-06-03 18:44:28 +07:00
mount_windows.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
name.go core/commands: Make IpnsCmd and PublishCmd public 2015-06-19 02:44:03 -07:00
object.go 'key' objects dont marshal to json well 2015-06-08 10:19:26 -07:00
pin.go go vet on core/commands 2015-06-03 17:20:40 +07:00
ping.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
publish.go core/commands: Make IpnsCmd and PublishCmd public 2015-06-19 02:44:03 -07:00
refs.go golint on core/commands 2015-06-03 18:44:28 +07:00
repo.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
resolve.go core/commands: Make 'ipfs name resolve' IPNS-only 2015-05-20 08:40:44 -07:00
root.go Move 'tour' to core/commands 2015-05-26 21:04:03 +07:00
stat.go Update option help for ipfs stats bw --poll 2015-05-31 18:26:51 -04:00
swarm.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
tour_test.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
tour.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
update.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
version.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00