From 92179d44d072081c109028e5142d9dc7f2977bb6 Mon Sep 17 00:00:00 2001 From: "sandipsamal117@gmail.com" Date: Wed, 1 Nov 2023 15:51:18 -0400 Subject: [PATCH] added pftelDB param --- setup.py | 2 +- topologicalcopy/topologicalcopy.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 18deeaf..3163637 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name = 'topologicalcopy', - version = '1.0.0', + version = '1.0.2', description = 'A plugin ts app to copy filtered output dirs from a list of plugin instances', long_description = readme, author = 'FNNDSC', diff --git a/topologicalcopy/topologicalcopy.py b/topologicalcopy/topologicalcopy.py index 61865b7..6d9292b 100644 --- a/topologicalcopy/topologicalcopy.py +++ b/topologicalcopy/topologicalcopy.py @@ -161,7 +161,12 @@ def define_parameters(self): Define the CLI arguments accepted by this plugin app. Use self.add_argument to specify a new app argument. """ - pass + self.add_argument('--pftelDB', + dest='pftelDB', + type=str, + optional=True, + help="an optional pftel telemetry logger, of form '/api/v1///'", + default='') @pflog.tel_logTime( event = 'topologicalcopy', log = 'Copy filtered output dirs from a list of plugin instances'