Skip to content

Commit

Permalink
feat(cli:list): add instance nam to list command
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Nov 20, 2018
1 parent d78b5d4 commit 93c0664
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/commands/socket-list.js
@@ -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 93c0664

Please sign in to comment.