jpillora / jpillora/opts-cli

Ideas / Todo list

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Create struct from existing help

The help from Cobra based CLI command is pretty standardised.
This feature request is that goopts parsers this help and creates a struct (and maybe a proxy) to existing CLIs.
eg docker run --help | goopts parser_cobra_help > my_docker_run.go

Wrap goreleaser - make it more friendly

Auto add --rm-dist, --snapshot, --skip-validate etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by separating the Cobra help-to-struct request from the goreleaser wrapper request; done would require an agreed scope and validation for the selected feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.