forked from TrueCloudLab/frostfs-testlib
Implement neofs-cli lib
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
This commit is contained in:
parent
d3f51ee398
commit
655a86a5b0
9 changed files with 827 additions and 3 deletions
13
src/neofs_testlib/cli/neofs_cli/version.py
Normal file
13
src/neofs_testlib/cli/neofs_cli/version.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue