class

Kakoune::CommandBuilder

Inherits Kakoune::Arguments / Reference / Object

Constructors

new

Creates a new builder.

Source
new

Creates a new builder, with its configuration specified in the block.

Source

Class methods

build

Builds command from block.

Source

Instance methods

add(command : String, arguments : Array(String))

Adds a single command.

Source
add(io : IO, lines : Bool)

Support for JSON Lines https://jsonlines.org

Source
add(command : Command)
Source
add(commands : Array(Command))

Adds multiple commands.

Source
add(io : IO)

Adds commands from a JSON stream.

Input example:

[["echo", "kanto"]]

Source
build

Builds command.

Source
input

Properties

Source
input=(input : Array(Array(String)))

Properties

Source

Nested types