ipfs / ipfs/kubo

`ipfs key rm` & `ipfs name publish` error out on empty stdin rather than doing nothing

Open
#4,904 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.