1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-12-09 18:18:45 +08:00
Files
kubo/core/commands/root.go
Juan Batiz-Benet 5040fee906 implement support for --api option
This commit adds support for the --api option, which allows users
to specify an API endpoint to run the cli command against. It enables
much easier control of remote daemons.

It also
- ensures the API server version matches the API client
- implements support for the $IPFS_PATH/api file

Still TODO:
- tests!
- multiaddr to support /dns/

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-27 08:03:56 +02:00

4.2 KiB