Skip to content

Commit 0dc0980

Browse files
author
Matthew Fisher
committed
Merge pull request #2084 from tobyhede/master
feat(client): add loading info msg to run command
2 parents c1b28c0 + fd71491 commit 0dc0980

2 files changed

Lines changed: 5 additions & 2 deletions

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))

deisctl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The deisctl release for Deis version 0.13 can be downloaded here: [Mac OS X](htt
3434

3535
### Building from source
3636

37-
If you want to install from source, clone the repository and run
37+
If you want to install from source, ensure you have [https://github.com/tools/godep](godep) installed, clone the repository and run
3838

3939
```console
4040
$ godep get .

0 commit comments

Comments
 (0)