Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the template for list of available extensions #150

Merged
merged 1 commit into from
Apr 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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