Skip to content

Commit 1190625

Browse files
author
Matthew Fisher
committed
Merge pull request #899 from deis/722-app-run
feat(client): add --app option to apps:run
2 parents fb8cb90 + 4808ea9 commit 1190625

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/deis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,9 @@ def apps_run(self, args):
600600
601601
Usage: deis apps:run <command>...
602602
"""
603-
app = self._session.app
603+
app = args.get('--app')
604+
if not app:
605+
app = self._session.app
604606
body = {'command': ' '.join(sys.argv[2:])}
605607
response = self._dispatch('post',
606608
"/api/apps/{}/run".format(app),

0 commit comments

Comments
 (0)