fix cli_parse: require connection (#357)

* fix cli_parse: require connection

* add changelog fragment

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pull/358/head
janorga 2024-07-03 17:01:55 +02:00 committed by GitHub
parent 827ce48ff5
commit 31c8097e53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
minor_changes:
- Fix cli_parse module to require a connection.

View File

@ -37,7 +37,7 @@ ARGSPEC_CONDITIONALS = {
class ActionModule(ActionBase):
"""action module"""
_requires_connection = False
_requires_connection = True
PARSER_CLS_NAME = "CliParser"