Skip to content

Commit

Permalink
Merge pull request #328 from Syncano/fix/remove_add
Browse files Browse the repository at this point in the history
Remove outdated "add" command
  • Loading branch information
mkucharz committed Nov 20, 2018
2 parents dbe50f9 + 3b23f7a commit d78b5d4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/cli/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,6 @@ const setup = async () => {
new commands.SocketList(context).run(options)
})

program
.command('add <socket_name>')
.group('Sockets')
.description('Add a Socket as a dependency of your project or local Socket')
.option('-s, --socket <socket>', 'Name of the Socket')
.action(async (...options) => {
const [name] = options
trackAndDebug(options, { socketName: name })
session.isAuthenticated()
session.hasProject()
await session.checkConnection()
echo()
new commands.SocketAdd(context).run(options)
})

program
.command('remove <socket_name>')
.group('Sockets')
Expand Down

0 comments on commit d78b5d4

Please sign in to comment.