ipfs / ipfs/go-ipfs-cmds

Allow NoRemote/NoLocal to be configured on a per-run basis

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
need/triage
Dominant language
Go
Stars
52
Forks
45
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ipfs/go-ipfs-cmds/blob/87b5c50105f87fafa651000c4955571b132948b2/command.go#L94-L98

At the moment these configurations apply on a per-command basis. For some specific cases of `go-ipfs` commands it might be valuable to configure them on a per-run basis depending on the arguments the command is being run with.

More background (see also https://github.com/ipfs/go-ipfs/issues/8131): `ipfs files write` command can be run either locally or remotely but when specified with the `--flush=false` flag it should be run only remotely or fail to make sure the flush doesn't take place.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.