Skip to content

Commit

Permalink
Merge pull request #767 from particle-iot/chore/remove-particle-setup
Browse files Browse the repository at this point in the history
Remove `particle setup` command
  • Loading branch information
keeramis authored Aug 28, 2024
2 parents 18e0976 + 65e1026 commit 5884949
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 61 deletions.
1 change: 0 additions & 1 deletion src/app/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ module.exports = class CLI {
},

examples: {
'$0 setup': 'NOT SUPPORTED. Go to setup.particle.io with your browser',
'$0 list': 'Show all your devices and their functions and variables',
'$0 flash my_device tinker': 'Remotely update your device to run the default Tinker app',
'$0 call my_device_name digitalwrite D7=HIGH': 'Call a function on your device running Tinker to toggle the onboard LED'
Expand Down
2 changes: 0 additions & 2 deletions src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const product = require('./product');
const project = require('./project');
const publish = require('./publish');
const serial = require('./serial');
const setup = require('./setup');
const subscribe = require('./subscribe');
const token = require('./token');
const udp = require('./udp');
Expand Down Expand Up @@ -62,7 +61,6 @@ module.exports = function registerAllCommands(context) {
project(context);
publish(context);
serial(context);
setup(context);
subscribe(context);
token(context);
udp(context);
Expand Down
8 changes: 0 additions & 8 deletions src/cli/setup.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/cmd/setup.js

This file was deleted.

3 changes: 1 addition & 2 deletions test/e2e/help.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('Help & Unknown Command / Argument Handling', () => {
' project Manage application projects',
' publish Publish an event to the cloud',
' serial Simple serial interface to your devices',
' setup NOT SUPPORTED. Go to setup.particle.io with your browser',
' subscribe Listen to device event stream',
' token Manage access tokens (require username/password)',
' udp Talk UDP to repair devices, run patches, check Wi-Fi, and more!',
Expand Down Expand Up @@ -67,7 +66,7 @@ describe('Help & Unknown Command / Argument Handling', () => {
'product device', 'product', 'project create', 'project', 'publish',
'serial list', 'serial monitor', 'serial identify', 'serial wifi',
'serial mac', 'serial inspect', 'serial flash',
'serial', 'setup', 'subscribe', 'token list', 'token revoke',
'serial', 'subscribe', 'token list', 'token revoke',
'token create', 'token', 'udp send', 'udp listen', 'udp', 'update',
'update-cli', 'usb list', 'usb start-listening', 'usb listen',
'usb stop-listening', 'usb safe-mode', 'usb dfu', 'usb reset',
Expand Down
40 changes: 0 additions & 40 deletions test/e2e/setup.e2e.js

This file was deleted.

0 comments on commit 5884949

Please sign in to comment.