oxidecomputer / oxidecomputer/oxide.rs

CLI command to search for other CLI commands

Open
#1,278 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Rust
Stars
75
Forks
21
Avg merge
2d 2h
Merged PRs (30d)
19

Description

Target component
  • CLI
  • SDK
  • Something else
  • Not sure
Overview

It would be really nice to be able to search for available commands using the CLI. An example of this functionality is the find command in FRRouting's vtysh shell:
https://docs.frrouting.org/en/latest/basic.html#clicmd-find-REGEX...

This would allow a CLI user to be able to quickly search for a command that they know (or suspect) exists, but that they don't know the location/hierarchy of.

Implementation details

No response

Anything else you would like to add?

No response

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 examining the CLI entry points and command-dispatch structure in oxide.rs, then compare the requested behavior with FRRouting's vtysh find command. Done means CLI users can search available commands by a known or suspected name or pattern and receive useful command locations.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.