
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@oclif/plugin-autocomplete
Advanced tools
autocomplete plugin for oclif (bash, zsh and powershell)
Run <cli> autocomplete to generate the autocomplete files for your current shell.
Since oclif v2 it's possible to use spaces as a topic separator in addition to colons.
For bash and zsh each topic separator has different autocomplete implementations, if the CLI supports using a space as the separator, plugin-autocomplete will generate completion for that topic.
If you still want to use the colon-separated autocomplete you can set OCLIF_AUTOCOMPLETE_TOPIC_SEPARATOR to colon and re-generate the autocomplete files.
Docs: https://oclif.io/docs/topic_separator
oclif-example autocomplete [SHELL]Display autocomplete installation instructions.
USAGE
$ oclif-example autocomplete [SHELL] [-r]
ARGUMENTS
[SHELL] (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
Display autocomplete installation instructions.
EXAMPLES
$ oclif-example autocomplete
$ oclif-example autocomplete bash
$ oclif-example autocomplete zsh
$ oclif-example autocomplete powershell
$ oclif-example autocomplete --refresh-cache
See code: src/commands/autocomplete/index.ts
Commander is a popular CLI framework for Node.js that provides command parsing and option handling. While it does not natively support autocomplete, it can be extended with additional packages to provide similar functionality. Compared to @oclif/plugin-autocomplete, Commander requires more setup to achieve autocomplete features.
Yargs is another CLI framework for Node.js that helps build interactive command-line tools. It includes some built-in support for command completion, but it is not as comprehensive as @oclif/plugin-autocomplete. Yargs is more focused on argument parsing and validation.
Inquirer is a library for creating interactive command-line interfaces. It provides prompts and questions to guide users through command execution. While it does not offer autocomplete, it can be used alongside other packages to enhance the user experience. Inquirer is more focused on user interaction rather than command completion.
FAQs
autocomplete plugin for oclif
The npm package @oclif/plugin-autocomplete receives a total of 606,280 weekly downloads. As such, @oclif/plugin-autocomplete popularity was classified as popular.
We found that @oclif/plugin-autocomplete demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.