Source

awstools / scripts / cfn

Diff from to

File scripts/cfn

     yield format_stack_events(stack) + '\n'
 
 
+def activities(args):
+    stacks = find_stacks(None, findall=True)
+    for stack in stacks:
+        if stack.stack_status.endswith('_COMPLETE'):
+            continue
+        yield format_stack_summary_short(stack)
+
+
 def main():
     parser = ArghParser(version=pkg_resources.get_distribution("awstools").version)
     parser.add_commands([
                         info,
                         outputs,
                         resources,
-                        events
+                        events,
+                        activities,
                         ])
     parser.dispatch(completion=False)