Requirements

Design Sketch

Compared to the original Shellac Protocol Proposal

Example:

["candidates", "2", "one", "two", "descriptions", "2", "desc1", "desc2"]

This is printed on stdout as a series of NUL-terminated strings.

Finding Completions for binaries

Look in $SHELLAC_HOME_DIR/plugins/openstack/complete for openstack.

$SHELLAC_HOME = ~/.local/shellac on Linux.

TODO: details.

Extensibility

Migration

From bash completion

From subcommands

#!/bin/sh
exec npm complete "$@"

What's Wrong with complete -C in bash?

TODO: Write up more!

Test Cases

See Shellac Test Cases.

Links