diff --git a/README.rst b/README.rst index d4cf103..fa54c18 100644 --- a/README.rst +++ b/README.rst @@ -306,7 +306,7 @@ Release **0.1.0**: (c)2020-2021, karneliuk.com -.. |version| image:: https://img.shields.io/static/v1?label=latest&message=v0.6.4&color=success +.. |version| image:: https://img.shields.io/static/v1?label=latest&message=v0.6.4a&color=success .. _version: https://pypi.org/project/pygnmi/ .. |tag| image:: https://img.shields.io/static/v1?label=status&message=stable&color=success .. _tag: https://pypi.org/project/pygnmi/ diff --git a/pygnmi/__init__.py b/pygnmi/__init__.py index 68e3a33..5065e8c 100644 --- a/pygnmi/__init__.py +++ b/pygnmi/__init__.py @@ -1,3 +1,3 @@ #(c)2019-2021, karneliuk.com -__version__ = "0.6.4" +__version__ = "0.6.4a" diff --git a/scripts/pygnmicli b/scripts/pygnmicli index 1a0c380..6120287 100644 --- a/scripts/pygnmicli +++ b/scripts/pygnmicli @@ -109,8 +109,8 @@ def main(): result.close() break - if result: - print(result) + if result and not args.print: + print(json.dumps(result, indent=4)) if __name__ == "__main__": diff --git a/setup.py b/setup.py index 38a1104..ed55457 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name = 'pygnmi', packages = ['pygnmi', 'pygnmi.spec', 'pygnmi.artefacts'], - version = '0.6.4', + version = '0.6.4a', license='bsd-3-clause', description = 'This repository contains pure Python implementation of the gNMI client to interact with the network functions.', long_description = long_description, @@ -14,7 +14,7 @@ author = 'Anton Karneliuk', author_email = 'anton@karneliuk.com', url = 'https://github.com/akarneliuk/pygnmi', - download_url = 'https://github.com/akarneliuk/pygnmi/archive/v0.6.4.tar.gz', + download_url = 'https://github.com/akarneliuk/pygnmi/archive/v0.6.4a.tar.gz', keywords = ['gnmi', 'automation', 'grpc', 'network'], install_requires=[ 'grpcio',