Use golang flag package instead of go-flags

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start by locating the command-specific flag parsing and all uses of go-flags in the repository. Replace that parsing with Go FlagSets that process each command's args, then verify that the existing command-line behavior remains intact.

Written by the indexing model from the issue text.

Description

We can use a FlagSet to define flags per-command, and then parse them on the given args param.

Dominant language
Go
Stars
18
Forks
16
Avg merge
9h 18m
Merged PRs (30d)
7

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.

More from cloudfoundry/log-cache-cli

All issues in cloudfoundry/log-cache-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.