`ipfs key rm` & `ipfs name publish` error out on empty stdin rather than doing nothing
Open
help wanted
kind/enhancement
topic/commands
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
#### Version information:
go-ipfs version: 0.4.13-
Repo version: 6
System version: amd64/linux
Golang version: go1.9.4
#### Type:
Bug
#### Description:
`ipfs key rm` and `ipfs name publish` (and probably other ipfs commands) will, if invoked with no positional arguments, expect input from stdin, presumably so you can pipe in the output of other `ipfs` commands without needing to faff around with xargs.
The problem is that when input is empty, these commands *fail*:
$ ipfs name publish
Contributor guide
Assessment
This issue has not been assessed yet.