Skip to content

Commit

Permalink
fix(cli): remove add command
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Nov 20, 2018
1 parent dbe50f9 commit 3b23f7a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/cli/src/cli.js
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 3b23f7a

Please sign in to comment.