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

14 Commits

Author SHA1 Message Date
51bf173f19 update bash completion for ipfs add 2020-04-05 18:47:49 +02:00
db45c4d0d9 remove bitswap unwant
This command messes with internal state and doesn't even work at the moment. If
you don't want a block, you should cancel the request that's trying to fetch it.

fixes #5295

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-28 10:21:10 -07:00
a0bedf6a5b remove the rest of the supernode code
missed in the initial cleanup

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-14 16:43:30 -07:00
bc75d3b88a Removed tour command and fix test
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
e9594c9b23 Updated Bash complete script
Some minor bug still exist but not breaking.
Everything is marked with "TODO" inline the script.

License: MIT
Signed-off-by: Elias Gabrielsson <elias@benefactory.se>
2016-11-13 16:31:16 +01:00
ac4200f1ea bash_completion: Add a couple missing commands
Add "bitswap" and "repo" to bash completion for `ipfs stats`. They are
listed under `ipfs stats --help`.

Also added their respective subcommands.

License: MIT
Signed-off-by: Nathan Musoke <nathan.musoke@gmail.com>
2016-11-08 20:51:48 +13:00
5807e5c09e bash: bring --unrestricted-api completion back (sorry!)
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-08-30 21:29:55 -07:00
1afebc21f3 gateway: clean up its surface, and remove BlockList
This patch is in preparation for the gateway's extraction.

It's interesting to trace technical debt back to its
origin, understanding the circumstances in which it
was introduced and built up, and then cutting it back
at exactly the right places.

- Clean up the gateway's surface
  The option builder GatewayOption() now takes only
  arguments which are relevant for HTTP handler muxing,
  i.e. the paths where the gateway should be mounted.
  All other configuration happens through the
  GatewayConfig object.

- Remove BlockList
  I know why this was introduced in the first place,
  but it never ended up fulfilling that purpose.
  Somehow it was only ever used by the API server,
  not the gateway, which really doesn't make sense.
  It was also never wired up with CLI nor fs-repo.
  Eventually @krl started punching holes into it
  to make the Web UI accessible.

- Remove --unrestricted-api
  This was holes being punched into BlockList too,
  for accessing /ipfs and /ipn on the API server.
  With BlockList removed and /ipfs and /ipns freely
  accessible, putting this option out of action
  is safe. With the next major release,
  the option can be removed for good.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-19 00:52:35 +02:00
aaa6569f2c trivial: various superficial fixes
misc/completion/ipfs-completion.bash: add `ipfs stats` to BASH completion

core/commands/mount_unix.go: ensure error is not nil before printing it

contribute.md: fix bibliography indexing in example

core/commands/swarm.go: change tabs to spaces in USAGE message

*: 80-column readability improvements

License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-02-03 15:46:28 +10:00
81227ecb40 Merge pull request #1496 from MichaelMure/bash_completion
Update the bash completion script
2015-07-19 22:19:12 -07:00
78e9794be0 Add the missing long argument for ipfs mount
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2015-07-18 15:00:26 +02:00
557d5f211d Update the bash completion script
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2015-07-18 14:50:29 +02:00
e8f51c2d57 ipfs-completion.bash: add the missing get command 2015-04-07 13:55:27 +02:00
a1ac0b55c0 Add a basic command line completion for IPFS
Does auto-complete for the ipfs commands, subcommands and parameters.

Reported to works for bash and zfs

The completion could be smarter for some parameters (marked as #TODO)
2015-03-25 22:14:44 +01:00