Silk Command Line Interface Reference

December 13, 2016 ยท View on GitHub

The Silk Command Line Interface (Silk CLI) is a unified tool designed to provide a consistent interface for interacting with all parts of the Silk platform.

Synopsis

silk <command> [argument1, argument2, ...]

You can also run silk help for a full list of all the commands and their description.

Available commands

run

Run the extension on device or emulator.

silk run

build

Run the silk build script without pushing

silk build

push

Push files without restarting the main module.

silk push

activate

Activate given (mark it as main module).

silk activate

Arguments

--clear, -c: Activate the default main module instead of the current package.

restart

Restart the main module.

silk restart

start

Start the main module (only useful after using stop).

silk start

stop

Stop the main module (until the device reboots).

silk stop

log

Begin tailing log of silk device or emulator.

silk log

setupwifi

Configure wifi on the device or emulator.

silk setupwifi 'SSID' 'PASSWORD'