INNER CODE UNIT · Python
test_commands
cybersecsi/RAUDI · src/raudi/cli.py:149
def test_commands(args):
# Get Manager Singleton
manager = Manager()
# Arguments
tool_name = args.test
log("This command should be executed AFTER building the image and BEFORE pushing it.")
# Build tool
log("Checking if tool exists...")
config = manager.get_single_tool(tool_name)
if not config:
logErr("Something is wrong, the tool does not exists!")
sys.exit(1)
log("Tool correctly found.")
log(config)