Package Exports
- t2-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (t2-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
t2-cli
The starting point for the Tessel 2 command line interface.
Join the conversation on Slack, our project's chat client!
See docs on T2 CLI usage on the t2-docs repo.
Contents
Installation for development
Prerequisites for installation: Node.js and Git.
- Clone this repository by entering the following:
git clone https://github.com/tessel/t2-cli. - Go to the root directory of repository:
cd t2-cli. - Create a symbolic link:
npm link --local.
####Windows
You may encounter the following error when executing npm link on windows:
19798 error Windows_NT 6.3.9600
19799 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "link"
19800 error node v0.12.4
19801 error npm v2.10.1
19802 error code ELIFECYCLE
19803 error tessel@0.3.23 postinstall: `tessel install-drivers || true; tessel trademark || true`
19803 error Exit status 1
19804 error Failed at the tessel@0.3.23 postinstall script 'tessel install-drivers || true; tessel trademark || true'.This error occurs because of windows folder permissions. To resolve this make sure you are running cmd or powershell as an administrator and that the permissions on the node_modules folder is set to full control for the user.
Updating
Just run t2 update to make sure you are running the most recent build of OpenWRT and firmware.
Development Milestones
Help us build Tessel 2's CLI! The issues section of this repo is full of small, fully outlined projects to add functionality.
The table here outlines the major milestones for the CLI prior to general release. Feel free to contribute towards milestones that that aren't the highest priority or bugs not on that list! All contributions are welcome. |