HomeClusterLabs Projects

Refactor: python: Copy the body of _new_cmd into add_cmd.

Description

Refactor: python: Copy the body of _new_cmd into add_cmd.

The add_cmd function is going to become the one stop shop for adding
test commands, replacing all the other add_cmd_* functions. There's
really no need for them anymore now that everything is a keyword
argument.

The first step is simply copying the body of the function over, updating
docs and keyword args. I don't believe any callers need to be changed
for this.

Details

Provenance
clumensAuthored on Jun 7 2024, 2:58 PM
Parents
rP4e4af5b78ea6: Refactor: python: Standardize exitcode keyword argument.
Branches
Unknown
Tags
Unknown