diff options
Diffstat (limited to 'anta/cli/exec/__init__.py')
-rw-r--r-- | anta/cli/exec/__init__.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/anta/cli/exec/__init__.py b/anta/cli/exec/__init__.py index 6be3934..7f9b4c2 100644 --- a/anta/cli/exec/__init__.py +++ b/anta/cli/exec/__init__.py @@ -1,19 +1,18 @@ # Copyright (c) 2023-2024 Arista Networks, Inc. # Use of this source code is governed by the Apache License 2.0 # that can be found in the LICENSE file. -""" -Click commands to execute various scripts on EOS devices -""" +"""Click commands to execute various scripts on EOS devices.""" + import click from anta.cli.exec import commands -@click.group -def exec() -> None: # pylint: disable=redefined-builtin - """Commands to execute various scripts on EOS devices""" +@click.group("exec") +def _exec() -> None: # pylint: disable=redefined-builtin + """Commands to execute various scripts on EOS devices.""" -exec.add_command(commands.clear_counters) -exec.add_command(commands.snapshot) -exec.add_command(commands.collect_tech_support) +_exec.add_command(commands.clear_counters) +_exec.add_command(commands.snapshot) +_exec.add_command(commands.collect_tech_support) |