ipfs / ipfs/go-ipfs-cmds

use a helper struct for cli.Run

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

Description

E.g., `Cli { struct options }.Run(ctx)`. It's a nice hack to get named (optional) parameters and avoid functions with many parameters.

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.