Skip to content

Shell completion #39

@sorah

Description

@sorah

Requirements:

  1. mairu exec should perform arbitrary command completion and forward completion for other (external) commands
  2. mairu exec should perform completion for --server, and role positional argument depending on --server

Barriers:

  1. clap_complete does not support ValueHint::CommandWithArguments in dynamic mode
  2. dynamic mode is required to perform completion for --server and role arguments

🤷🏻

We need to end up with hand-written completion for now? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions