Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(cli): remove add command
  • Loading branch information
mkucharz committed Nov 20, 2018
commit 3b23f7a0efee3fa6430c43fd39ec751161aaab94
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