Skip to content

Commit 2c50d5c

Browse files
author
Toby Hede
committed
feat(client): add loading info msg to run command
1 parent 2176c1b commit 2c50d5c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

client/deis.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,13 @@ def apps_run(self, args):
658658
-a --app=<app>
659659
the uniquely identifiable name for the application.
660660
"""
661+
command = ' '.join(args.get('<command>'))
662+
self._logger.info('Running `{}`...'.format(command))
663+
661664
app = args.get('--app')
662665
if not app:
663666
app = self._session.app
664-
body = {'command': ' '.join(args.get('<command>'))}
667+
body = {'command': command}
665668
response = self._dispatch('post',
666669
"/api/apps/{}/run".format(app),
667670
json.dumps(body))

0 commit comments

Comments
 (0)