Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmdcomp

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmdcomp

command shell completion file generator.

  • 2.6.0
  • PyPI
  • Socket score

Maintainers
2

Command Completion Generator Tool

docs test pypi package docker version

cmdcomp generate command shell completion file (bash or zsh) from config JSON/YAML/TOML file.

image

Why was cmdcomp created?

The completion files for many cli tools (aws, gcloud, etc.) are provided by the tools themselves. If you want to use these cli tools in multiple products or multiple environments (prd, dev, etc.), it is useful to be able to switch contexts easily (e.g. mycli prd aws s3 ...). cmdcomp provides a completion file for such a simple shell script wrapper. You can easily switch between settings for each environment.

This tool can generate shell script completion files with config described in YAML, TOML or JSON.

Today, more and more cli tools are being used in development, and if you want to generate a completion file for a simple wrapper script, cmdcomp will be of great help.

Install

pip install cmdcomp

Usage

cmdcomp --config $YOUR_CONFIG_FILE --shell-type bash

Documentation

See documentation for more details.

Examples

See examples.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc