Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert t2 install-drivers and t2 install-homedir to t2 install X. Fixes gh-1019 #1020

Merged
merged 1 commit into from
Oct 6, 2016

Conversation

rwaldron
Copy link
Contributor

@rwaldron rwaldron commented Oct 6, 2016

This blocks #1014

This will allow normalized CLI "install" or "remove" additions:

  • t2 install-drivers => t2 install drivers
  • t2 install-homedir => t2 install homedir

And future additions:

  • t2 install rust-sdk
  • t2 remove rust-sdk

Presently no "remove" command has been defined for drivers or homedir as it's unclear that those installables are subject to such operations.

Signed-off-by: Rick Waldron waldron.rick@gmail.com

@rwaldron
Copy link
Contributor Author

rwaldron commented Oct 6, 2016

@HipsterBrown please review

@tcr once this lands, please rebase #1014 and refactor the sdk installation portions of your branch to use the new t2 install x and t2 remove x commands

…X`. Fixes tesselgh-1019

This will allow normalized CLI "install" or "remove" additions:

- `t2 install-drivers` => `t2 install drivers`
- `t2 install-homedir` => `t2 install homedir`

And future additions:

- `t2 install rust-sdk`
- `t2 remove rust-sdk`

Presently no "remove" command has been defined for `drivers` or `homedir` as it's unclear that those installables are subject to such operations.

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
@HipsterBrown
Copy link
Contributor

Ran the tests locally and this works for me in every supported Node version. 👍

@rwaldron
Copy link
Contributor Author

rwaldron commented Oct 6, 2016

Citing this again: https://travis-ci.org/tessel/t2-cli/builds/165619948

@rwaldron rwaldron merged commit 271a81c into tessel:master Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants