DEV Community

sigoden
sigoden

Posted on

A more powerful cargo auto-completions through argc-completions

Support multiple shells, multiple platforms

Supported shells:

  • bash
  • zsh
  • powershell
  • fish
  • nushell
  • elvish
  • xonsh

Supported platforms: windows, macOS, linux

Complete subcommands/plugins

complete-cmds

Complete toolchains

comlete-toolchains

Complete options like --package --features --bin --example --test --bench --target

complete-options

Complete crates and features for cargo add using network

complete-cargo-add

Complete crate for cargo remove

complete-cargo-rm

Autocompletions for cargo plugins

cargo-plugin-autocompletions

Plugins with autocompletions:

  • audit
  • binstall
  • bloat
  • contract
  • crev
  • fuzz
  • geiger
  • insta
  • leptos
  • license
  • llvm-cov
  • make
  • ndk
  • nextest
  • outdated
  • semver-checks
  • sort
  • sqlx
  • tarpaulin
  • tauri
  • udeps
  • watch
  • zigbuild

Automatically generate a completion script for a new cargo plugin in just 5 seconds.

generate

See https://github.com/sigoden/argc-completions for more details.

Top comments (0)