specs2json

command
v1.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command specs2json converts the data of the completion specs of VS Code's terminal-suggest extension (TypeScript, MIT, from withfig/autocomplete) to the JSON that extensions/terminal embeds (SPEC §10.25 "Terminal IntelliSense"). Only data is converted: the generators of a spec (code that runs a shell command) are left out and never run, and nothing of Node is used. scripts/update-assets.sh runs it.

Usage:

specs2json specs <out folder> <spec.ts>...        one <name>.json for each spec file
specs2json builtins <cache.ts> <out.json>         the builtins of zsh or fish from VS Code's description caches
specs2json bash <out.json>                        the builtins of the bash on this machine, with `help -d`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL