Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - carapace-sh/carapace-spec: define simple completions using a spec file

define simple completions using a spec file. Contribute to carapace-sh/carapace-spec development by creating an account on GitHub.

Visit SiteGitHub - carapace-sh/carapace-spec: define simple completions using a spec file

GitHub - carapace-sh/carapace-spec: define simple completions using a spec file

define simple completions using a spec file. Contribute to carapace-sh/carapace-spec development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

carapace-spec

PkgGoDev GoReportCard documentation Coverage Status Packaging status

Define simple completions using a spec file (based on carapace).

The carapace-spec binary can be used to complete spec files, but carapace-bin is recommended as it supports a range of custom macros.

name: mycmd
description: my command
flags:
  --optarg?: optarg flag
  -r, --repeatable*: repeatable flag
  -v=: flag with value
persistentflags:
  --help: bool flag
completion:
  flag:
    optarg: ["one", "two\twith description", "three\twith style\tblue"]
    v: ["$files"]
commands:
- name: sub
  description: subcommand
  completion:
    positional:
      - ["$list(,)", "1", "2", "3"]
      - ["$directories"]

Generators

GoLang Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.