-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add IPFS_PATH to CLI help #1213
Comments
This isn't as easy as expected as it needs an change on the upstream argument parser package. See yargs/yargs#924 for more information. |
@vmx I'm new to ipfs, looking to help out on an issue like this to get started. It seems like the final comment in the yargs issue you have linked proposes using an epilog, but I believe you and @diasdavid are looking for a prologue? I'd like to attempt the first option (.usage()) to solve this problem. Which of the cli commands' information would you like the IPFS_PATH help to be prepended to? Just the init command? |
@bvand I think having it in |
@vmx the |
@vasco-santos You are right, I've missed that |
Ok, I will add it then @vmx 😃 |
It's possible to init a repository at a different location (other than the default
~/.jsipfs
) with setting theIPFS_PATH
environment variable. This isn't clear from the CLI help.go-ipfs
has this information:Add this to the js-ipfs CLI as well.
The text was updated successfully, but these errors were encountered: