Skip to content

Commit d78b5d4

Browse files
authored
Merge pull request #328 from Syncano/fix/remove_add
Remove outdated "add" command
2 parents dbe50f9 + 3b23f7a commit d78b5d4

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

packages/cli/src/cli.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -164,21 +164,6 @@ const setup = async () => {
164164
new commands.SocketList(context).run(options)
165165
})
166166

167-
program
168-
.command('add <socket_name>')
169-
.group('Sockets')
170-
.description('Add a Socket as a dependency of your project or local Socket')
171-
.option('-s, --socket <socket>', 'Name of the Socket')
172-
.action(async (...options) => {
173-
const [name] = options
174-
trackAndDebug(options, { socketName: name })
175-
session.isAuthenticated()
176-
session.hasProject()
177-
await session.checkConnection()
178-
echo()
179-
new commands.SocketAdd(context).run(options)
180-
})
181-
182167
program
183168
.command('remove <socket_name>')
184169
.group('Sockets')

0 commit comments

Comments
 (0)