We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2176c1b commit 2c50d5cCopy full SHA for 2c50d5c
1 file changed
client/deis.py
@@ -658,10 +658,13 @@ def apps_run(self, args):
658
-a --app=<app>
659
the uniquely identifiable name for the application.
660
"""
661
+ command = ' '.join(args.get('<command>'))
662
+ self._logger.info('Running `{}`...'.format(command))
663
+
664
app = args.get('--app')
665
if not app:
666
app = self._session.app
- body = {'command': ' '.join(args.get('<command>'))}
667
+ body = {'command': command}
668
response = self._dispatch('post',
669
"/api/apps/{}/run".format(app),
670
json.dumps(body))
0 commit comments