Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tessel syntax description for WebStorm Command Line Tools. Copy to C:\Users\<your username>\.WebStorm8\config\commandlinetools\Custom_tessel.xml.
<?xml version="1.0" encoding="UTF-8"?>
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.3.xsd"
name="Custom_tessel" invoke="C:\Users\Maarten\AppData\Roaming\npm\tessel.cmd" alias="tessel" enabled="true" version="2">
<help><![CDATA[tessel command line]]></help>
<command>
<name>--help</name>
<help><![CDATA[
<h2>Display available commands</h2>
]]></help>
</command>
<command>
<name>list</name>
<help><![CDATA[
<h2>List connected tessel devices</h2>
]]></help>
</command>
<command>
<name>logs</name>
<help><![CDATA[
<h2>Connect to tessel log stream</h2>
<b>Options:</b>
<ul>
<li><code>-a, --all</code> - listens to all messages from tessel (even ones thrown from firmware)</li>
</ul>
]]></help>
<params>--all|-a[=null]</params>
<optionsBefore>
<option name="--all" shortcut="-a">
<help>listens to all messages from tessel (even ones thrown from firmware)</help>
</option>
</optionsBefore>
</command>
<command>
<name>run</name>
<help><![CDATA[
<h2>Run a script temporarily without writing it to flash</h2>
<b>Options:</b>
<ul>
<li><code>-v, --version</code> - Print tessel-node's version</li>
<li><code>-i, --interactive</code> - Enter the REPL</li>
<li><code>-u, --upload-dir</code> - Directory where uploads from process.sendfile should be saved to</li>
<li><code>-l, --listen</code> - Listen and display specific logs. "--listen all" outputs all logs</li>
<li><code>-q, --quiet</code> - Hide tessel deployment messages</li>
<li><code>-s, --single</code> - Push a single script file to Tessel</li>
<li><code>-h, --help</code> - Show usage for tessel node</li>
</ul>
]]></help>
<params>script --version|-v[=null] --interactive|-i[=null] --upload-dir|-u[=null] --listen|-l[=null] --quiet|-q[=null] --single|-s[=null] --help|-h[=null]</params>
<optionsBefore>
<option name="--version" shortcut="-v">
<help>Print tessel-node's version</help>
</option>
<option name="--interactive" shortcut="-i">
<help>Enter the REPL</help>
</option>
<option name="--upload-dir" shortcut="-u" pattern="space">
<help>Directory where uploads from process.sendfile should be saved to</help>
</option>
<option name="--listen" shortcut="-l" pattern="space">
<help>Listen and display specific logs. "--listen all" outputs all logs</help>
</option>
<option name="--quiet" shortcut="-q">
<help>Hide tessel deployment messages</help>
</option>
<option name="--single" shortcut="-s">
<help>Push a single script file to Tessel</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel node</help>
</option>
</optionsBefore>
</command>
<command>
<name>push</name>
<help><![CDATA[
<h2>Push a script and write it to flash</h2>
<b>Options:</b>
<ul>
<li><code>-a, --args</code> - Arguments to pass in as process.argv</li>
<li><code>-m, --messages</code> - Forward stdin as child process messages</li>
<li><code>-l, --logs</code> - Stay connected and print logs</li>
<li><code>-q, --quiet</code> - Hide tessel deployment messages</li>
<li><code>-s, --single</code> - Push a single script file to Tessel</li>
<li><code>-h, --help</code> - Show usage for tessel node</li>
</ul>
]]></help>
<params>script --args|-a[ null] --messages|-m[=null] --logs|-l[=null] --quiet|-q[=null] --single|-s[=null] --help|-h[=null]</params>
<optionsBefore>
<option name="--args" shortcut="-a" pattern="unknown">
<help>Arguments to pass in as process.argv</help>
</option>
<option name="--messages" shortcut="-m">
<help>Forward stdin as child process messages</help>
</option>
<option name="--logs" shortcut="-l">
<help>Stay connected and print logs</help>
</option>
<option name="--quiet" shortcut="-q">
<help>Hide tessel deployment messages</help>
</option>
<option name="--single" shortcut="-s">
<help>Push a single script file to Tessel</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel node</help>
</option>
</optionsBefore>
</command>
<command>
<name>erase</name>
<help><![CDATA[
<h2>Erases saved usercode (JavaScript) on tessel</h2>
<b>Options:</b>
<ul>
<li><code>-f, --force</code> - Forces an erase binary onto tessel. This will erase all user code even if user code is locking up.</li>
</ul>
]]></help>
<params>--force|-f[=null]</params>
<optionsBefore>
<option name="--force" shortcut="-f">
<help>Forces an erase binary onto tessel. This will erase all user code even if user code is locking up.</help>
</option>
</optionsBefore>
</command>
<command>
<name>repl</name>
<help><![CDATA[
<h2>Interactive JavaScript shell</h2>
]]></help>
</command>
<command>
<name>wifi</name>
<help><![CDATA[
<h2>Connect/list wifi</h2>
<b>Options:</b>
<ul>
<li><code>-l, --list</code> - List available wifi networks</li>
<li><code>-n, --network</code> - The network to connect to</li>
<li><code>-p, --password</code> - Password of the network. Omit for unsecured networks.</li>
<li><code>--password-hex</code> - Password of the network in hex</li>
<li><code>-s, --security</code> - Security type of the network, one of (wpa2|wpa|wep). Omit for unsecured networks. [wpa2]</li>
<li><code>-t, --timeout</code> - Sets timeout before retrying connection to network. [20]</li>
<li><code>-d, --disconnect</code> - Erases stored wifi configurations on Tessel</li>
<li><code>-h, --help</code> - Show usage for tessel wifi</li>
</ul>
]]></help>
<params>--list|-l --network|-n[ null] --password|-p[ null] --password-hex[ null] --security|-s[ wpa2|wpa|wep] --timeout|-t[ null] --disconnect|-d --help|-h</params>
<optionsBefore>
<option name="--list" shortcut="-l">
<help>List available wifi networks</help>
</option>
<option name="--network" shortcut="-n" pattern="space">
<help>The network to connect to</help>
</option>
<option name="--password" shortcut="-p" pattern="space">
<help>Password of the network. Omit for unsecured networks.</help>
</option>
<option name="--password-hex" pattern="space">
<help>Password of the network in hex</help>
</option>
<option name="--security" shortcut="-s" pattern="space">
<help>Security type of the network, one of (wpa2|wpa|wep). Omit for unsecured networks. [wpa2]</help>
</option>
<option name="--timeout" shortcut="-t" pattern="space">
<help>Sets timeout before retrying connection to network. [20]</help>
</option>
<option name="--disconnect" shortcut="-d">
<help>Erases stored wifi configurations on Tessel</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel wifi</help>
</option>
</optionsBefore>
</command>
<command>
<name>wifi</name>
<help><![CDATA[
<h2>See current wifi status</h2>
<b>Options:</b>
<ul>
<li><code>-l, --list</code> - List available wifi networks</li>
<li><code>-h, --help</code> - Show usage for tessel wifi</li>
</ul>
]]></help>
<params>--list|-l[=null]</params>
<optionsBefore>
<option name="--list" shortcut="-l">
<help>List available wifi networks</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel wifi</help>
</option>
</optionsBefore>
</command>
<command>
<name>stop</name>
<help><![CDATA[
<h2>Stop the tessel runtime</h2>
]]></help>
</command>
<command>
<name>check</name>
<help><![CDATA[
<h2>Dumps the tessel binary code</h2>
]]></help>
<params>[script]</params>
</command>
<command>
<name>blink</name>
<help><![CDATA[
<h2>Uploads test blinky script</h2>
]]></help>
</command>
<command>
<name>update</name>
<help><![CDATA[
<h2>Updates tessel to the newest released firmware</h2>
<p>Optionally can list all builds/revert to older builds.</p>
<b>Options:</b>
<ul>
<li><code>-l, --list</code> - List all builds</li>
<li><code>-w, --wifi</code> - Optional version of CC3000 wifi firmware to install</li>
<li><code>-b, --build</code> - Optional build of the firmware version (does not update wifi)</li>
<li><code>-f, --force</code> - Forcibly reload firmware onto Tessel</li>
<li><code>-d, --dfu</code> - Apply firmware update to device in DFU mode</li>
<li><code>-h, --help</code> - Show usage for tessel update</li>
</ul>
]]></help>
<params>--list|-l[=null] --wifi|-w[=null] --build|-b[=null] --force|-f[=null] --dfu|-d[=null] --help|-h[=null]</params>
<optionsBefore>
<option name="--list" shortcut="-l">
<help>List all builds</help>
</option>
<option name="--wifi" shortcut="-w">
<help>Optional version of CC3000 wifi firmware to install</help>
</option>
<option name="--build" shortcut="-b" pattern="space">
<help>Optional build of the firmware version (does not update wifi)</help>
</option>
<option name="--force" shortcut="-f">
<help>Forcibly reload firmware onto Tessel</help>
</option>
<option name="--dfu" shortcut="-d">
<help>Apply firmware update to device in DFU mode</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel update</help>
</option>
</optionsBefore>
</command>
<command>
<name>debug</name>
<help><![CDATA[
<h2>Run this script on Tessel after default scripts</h2>
<b>Options:</b>
<ul>
<li><code>-a, --args</code> - Arguments to pass in as process.argv</li>
<li><code>-s, --single</code> - Push a single script file to Tessel</li>
<li><code>-h, --help</code> - Show usage for tessel node</li>
</ul>
]]></help>
<params>script --args|-a[ null] --single|-s[=null] --help|-h[=null]</params>
<optionsBefore>
<option name="--args" shortcut="-a" pattern="unknown">
<help>Arguments to pass in as process.argv</help>
</option>
<option name="--single" shortcut="-s">
<help>Push a single script file to Tessel</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel node</help>
</option>
</optionsBefore>
</command>
<command>
<name>version</name>
<help><![CDATA[
<h2>Show version of tessel cli</h2>
<p>If <code>--board</code> is specified, shows version of the connected tessel.</p>
<b>Options:</b>
<ul>
<li><code>-b, --board</code> - Get the version information of the connected Tessel board</li>
<li><code>-h, --help</code> - Show usage for tessel version</li>
</ul>
]]></help>
<params>--board|-b[=null] --help|-h[=null]</params>
<optionsBefore>
<option name="--board" shortcut="-b">
<help>Get the version information of the connected Tessel board</help>
</option>
<option name="--help" shortcut="-h">
<help>Show usage for tessel version</help>
</option>
</optionsBefore>
</command>
</framework>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.