frostfs-testlib/src/neofs_testlib/cli/neofs_cli/version.py
Vladimir Avdeev 655a86a5b0 Implement neofs-cli lib
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-06 10:41:32 +03:00

13 lines
348 B
Python

from neofs_testlib.cli.cli_command import CliCommand
from neofs_testlib.shell import CommandResult
class NeofsCliVersion(CliCommand):
def get(self) -> CommandResult:
"""
Application version and NeoFS API compatibility.
Returns:
Command's result.
"""
return self._execute("", version=True)