1 Star 0 Fork 0

filecoin-project/go-ipfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
command-completion.md 983 Bytes
一键复制 编辑 原始数据 按行查看 历史

Command Completion

Shell command completion is provided by the script at /misc/completion/ipfs-completion.bash.

Installation

The simplest way to see it working is to run source misc/completion/ipfs-completion.bash straight from your shell. This is only temporary and to fully enable it, you'll have to follow one of the steps below.

Bash on Linux

For bash, completion can be enabled in a couple of ways. One is to copy the completion script to the directory ~/.ipfs/ and then in the file ~/.bash_completion add

source ~/.ipfs/ipfs-completion.bash

It will automatically be loaded the next time bash is loaded. To enable ipfs command completion globally on your system you may also copy the completion script to /etc/bash_completion.d/.

Additional References

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ipfs2/go-ipfs.git
git@gitee.com:ipfs2/go-ipfs.git
ipfs2
go-ipfs
go-ipfs
master

搜索帮助