influxdata / influxdata/influx-cli

Revisit parsing for `bucket-schema` commands

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

When the `bucket-schema` commands were implemented, I pushed to have all the logic for parsing schemas from-file-or-stdin live under the `clients/` package. Since then, I've changed my mind and started putting that sort of logic under `cmd/`. It would be nice to refactor the `bucket-schema` code to be consistent with the new pattern.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the bucket-schema command parsing under the clients/ package and compare it with the newer parsing pattern under cmd/. Trace all from-file-or-stdin schema handling and identify the files that need to move or change; the refactor is done when bucket-schema follows the cmd/ pattern consistently.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.