kubo/core/commands
Steven Allen e58a32ab1e feat(commands/cid): add a flag for setting the codec
This will be useful when testing `refs local, `repo gc`, and `repo verify`
commands once we store blocks by multihash instead of by CID. At that point,
these commands will return raw v1 CIDs as the blockstore won't actually remember
the codec used to store the block.

Flags choice:

* Ideally, we'd use the `-f, --format` flags like every other command but we're
  already using `-f` (format) for the format string.
* Alternatively, I'd like to use `-c`. However, we're using _that_ for a global
  `--config` flag (bit of a waste given that it doesn't work...).

`--codec` will have to do for now.
2020-01-07 19:32:16 -06:00
..
cmdenv cmdkit -> cmds 2019-05-10 23:00:20 -07:00
dag cmdkit -> cmds 2019-05-10 23:00:20 -07:00
e Fix typo in an error.go comment: "is adds" -> "adds". 2018-01-17 15:25:54 -08:00
name fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
object Fix Typos 2019-12-25 03:12:41 +00:00
unixfs cmdkit -> cmds 2019-05-10 23:00:20 -07:00
active.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
add.go Add buzhash to ipfs add docs 2019-10-07 19:57:43 +02:00
bitswap.go fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
block.go fix: block put helptext 2019-06-12 12:44:01 -04:00
bootstrap.go chore: deprecate go-ipfs-addr 2019-05-31 23:46:11 -07:00
cat.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
cid.go feat(commands/cid): add a flag for setting the codec 2020-01-07 19:32:16 -06:00
commands_test.go test: remove version/deps from ro commands test 2019-04-04 14:55:07 -07:00
commands.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
config.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
dht_test.go migrate to go-libp2p-core. 2019-05-31 23:23:52 -07:00
dht.go fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
diag.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
dns.go migrate to go-libp2p-core. 2019-05-31 23:23:52 -07:00
external.go feat: add install instructions for external commands 2019-07-26 12:37:33 -07:00
files.go fix: use if over switch 2019-11-25 14:51:30 +00:00
filestore.go Update imports to go-filestore 2019-07-15 15:52:34 +02:00
get_test.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
get.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
helptext_test.go gx: unrewrite 2019-03-05 18:33:56 +01:00
id.go fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
keystore.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
log.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
ls.go pin cmd: proper CID encoding and backward compat 2019-07-11 13:51:54 +02:00
mount_nofuse.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
mount_unix.go Fix Typos 2019-12-25 03:12:41 +00:00
mount_windows.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
p2p.go doc: update documentation for /ipfs -> /p2p multiaddr switch 2019-12-14 19:39:59 +01:00
pin.go Fix Typos 2019-12-25 03:12:41 +00:00
ping.go fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
pubsub.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
refs.go cmds/refs: fix ipfs refs for sharded directories 2019-08-21 18:25:46 -07:00
repo.go Adding alias for ipfs repo stat. 2019-11-18 00:54:42 +01:00
resolve.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
root_test.go pre-populate required arguments from request body 2018-03-18 13:04:25 -07:00
root.go feat: add install instructions for external commands 2019-07-26 12:37:33 -07:00
shutdown.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
stat.go fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
swarm.go doc: update documentation for /ipfs -> /p2p multiaddr switch 2019-12-14 19:39:59 +01:00
sysdiag.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
tar.go cmdkit -> cmds 2019-05-10 23:00:20 -07:00
urlstore.go Update imports to go-filestore 2019-07-15 15:52:34 +02:00
version.go version: don't print 'VERSION-' if no commit is specified 2019-08-28 00:06:46 -07:00