Skip to content

feat(micromamba): add completion spec - #2682

Open
ump45nose wants to merge 1 commit into
withfig:masterfrom
ump45nose:feat-micromamba-spec
Open

ump45nose wants to merge 1 commit into
withfig:masterfrom
ump45nose:feat-micromamba-spec

Conversation

@ump45nose

Copy link
Copy Markdown

Summary

  • Adds a new src/micromamba.ts completion spec for the micromamba package manager, resolving micromamba autocomplete does not work #1939 (micromamba had no completion spec, so nothing appeared for micromamba ...).
  • Covers all 20 top-level subcommands from micromamba --help (micromamba 2.10.0): create, install, update, repoquery, search, remove/uninstall, list, package, clean, config, info, constructor, env, activate, deactivate, run, ps, auth, shell — including nested subcommands for config (list/sources/describe/prepend/append/remove-key/remove/set/get) and env (list/create/export/remove/update).
  • Shared global options (prefix -n/-p/-r, -y, -q, --json, --offline, --dry-run, --rc-file, --no-rc, --no-env, verbosity -v) are attached to the mutating subcommands where micromamba accepts them.

Testing

  • Verified command names, aliases (remove/uninstall), nesting, and descriptions against micromamba --help, micromamba env --help, and micromamba config --help with a real micromamba 2.10.0 binary (Homebrew); ran micromamba env list and micromamba config list locally.
  • prettier, eslint, and tsc --noEmit all pass with no diagnostics for this spec.

Closes #1939

@withfig-bot

withfig-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@withfig-bot

Copy link
Copy Markdown
Contributor

Overview

src/micromamba.ts:

Info:

@withfig-bot

Copy link
Copy Markdown
Contributor

Hello @ump45nose,
thank you very much for creating a Pull Request!
Here is a small checklist to get this PR merged as quickly as possible:

  • Do all subcommands / options which take arguments include the args property (args: {})?
  • Are all options modular? E.g. -a -u -x instead of -aux
  • Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

@ump45nose

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

micromamba autocomplete does not work

2 participants