Skip to content

Commit

Permalink
Merge pull request #329 from Syncano/feat/instance_name_on_list
Browse files Browse the repository at this point in the history
Add instance name to Socket list command
  • Loading branch information
mkucharz committed Nov 20, 2018
2 parents d78b5d4 + 93c0664 commit 69bfd85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/commands/socket-list.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import format from 'chalk'
import logger from '../utils/debug'
import { echo } from '../utils/print-tools'
import { socketNotFound } from './helpers/socket'
Expand All @@ -17,6 +18,9 @@ class SocketListCmd {
info('SocketListCmd.run')
this.fullPrint = cmd.full || !!socketName

echo()
echo(4)(`instance: ${format.yellow(this.session.project.instance)}`)

if (socketName) {
try {
const socket = await this.Socket.get(socketName)
Expand Down

0 comments on commit 69bfd85

Please sign in to comment.