Popularity
0.3
Declining
Activity
2.0
Declining
2
1
0

Programming language: Go
License: MIT License
Tags: Command Line     Standard CLI    

carapace-spec alternatives and similar packages

Based on the "Standard CLI" category.
Alternatively, view carapace-spec alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of carapace-spec or a related project?

Add another 'Standard CLI' Package

README

carapace-spec

PkgGoDev GoReportCard documentation Coverage 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"]