Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
modified: botoform/plugins/exec.py
Browse files Browse the repository at this point in the history
	modified:   docs/source/tools/bf.rst
  • Loading branch information
russellballestrini committed Aug 10, 2017
1 parent 7bd3f11 commit 26b2f74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions botoform/plugins/exec.py
Expand Up @@ -15,13 +15,13 @@ def Exec(args, evpc):
Usage 2 (redirection)::
bf --profile development exec dogtest01 < unique_running_amis.py
bf --profile development exec dogtest01 < unique_active_amis.py
Where `unique_running_amis.py` has the following content::
Where `unique_active_amis.py` has the following content::
print(set([i.image_id for i in evpc.instances]))
In this example, for following would look something like this::
In both examples, the output would look something like this::
set(['ami-33333333', 'ami-55555555', 'ami-99999999', 'ami-77777777'])
Expand Down
6 changes: 3 additions & 3 deletions docs/source/tools/bf.rst
Expand Up @@ -156,13 +156,13 @@ Usage 1 (echo and pipe)::
Usage 2 (redirection)::
bf --profile development exec dogtest01 < unique_running_amis.py
bf --profile development exec dogtest01 < unique_active_amis.py
Where `unique_running_amis.py` has the following content::
Where `unique_active_amis.py` has the following content::
print(set([i.image_id for i in evpc.instances]))
In this example, for following would look something like this::
In both examples, the output would look something like this::
set(['ami-33333333', 'ami-55555555', 'ami-99999999', 'ami-77777777'])
Expand Down

0 comments on commit 26b2f74

Please sign in to comment.