digital-asset / digital-asset/dpm

bash/zsh command completion

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
cli
Dominant language
Go
Stars
3
Forks
2
Avg merge
21h 16m
Merged PRs (30d)
1

Description

## Summary
Bash / Zsh completions do work for the in-built unifi commands,

![Image](https://github.com/user-attachments/assets/b78de35a-8f6d-4859-bc4d-e5d4850c2cea)

but not for sub-components

![Image](https://github.com/user-attachments/assets/80f40087-f9d3-469a-8027-705cad646d41)

## Acceptance Criteria
- [ ] Force disable assistant's auto-install when doing shell completion
- [ ] Complete docs for `unifi completions ...`
- [ ] Support completions for components

Contributor guide

Open the contributing guide

Research direction

Start with the `unifi completions ...` command and reproduce completion for a component in Bash and Zsh. Trace when the assistant auto-install runs during shell completion, then document the command and verify that built-in and component completions work without that installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, go, zsh
Domain
cli, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.