Skip to content

Commit

Permalink
Update the template for list of available extensions (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbekoe committed Apr 27, 2018
1 parent be00046 commit 61ed6bb
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions scripts/ci/available_extensions_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from __future__ import print_function

import sys
import datetime
import collections
from pkg_resources import parse_version

Expand All @@ -20,12 +19,11 @@
author: derekbekoe
ms.author: debekoe
manager: routlaw
ms.date: {{ date }}
ms.date: 04/27/2018
ms.topic: article
ms.prod: azure
ms.technology: azure
ms.devlang: azurecli
ms.service: multiple
ms.technology: azure-cli
ms.devlang: azure-cli
---
# Available extensions for the Azure CLI 2.0
Expand Down Expand Up @@ -62,9 +60,8 @@ def get_extensions():

def main():
extensions = get_extensions()
now = datetime.datetime.now()
template = Template(DOC_TEMPLATE)
print(template.render(extensions=extensions, date=now.strftime("%m/%d/%Y")), file=sys.stdout)
print(template.render(extensions=extensions), file=sys.stdout)


if __name__ == '__main__':
Expand Down

0 comments on commit 61ed6bb

Please sign in to comment.