oasisprotocol / oasisprotocol/cli

Add subcommands for handling the CLI config

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

Nobody has claimed this yet.

Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

It would be nice to have CLI subcommands for handling the CLI config. As of now some existing commands directly modify the config, but there are other operations that would be nice to have such as:

  • displaying the info about the config such as its location, format, etc.
  • displaying the current config content;
  • setting/unsetting config entries directly;
  • resetting the config to the default one.

To implement this we could introduce something like oasis config info/set/get/unset/reset.

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

Start by tracing the existing CLI commands that directly modify the config and identify the current config representation and command entry points. Done means the CLI provides config info, get, set, unset, and reset operations with behavior defined for location, format, content, entries, and defaults.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.