otx.cli.utils#

CLI Utils.

Functions

absolute_path(path)

Returns the absolute path of the given path.

otx.cli.utils.absolute_path(path: str | Path | None) str | None[source]#

Returns the absolute path of the given path.

Parameters:

path (str | Path | None) – The path to be resolved.

Returns:

The absolute path of the given path, or None if the path is None.

Return type:

str | None

Modules

otx.cli.utils.help_formatter

Custom Help Formatters for OTX CLI.

otx.cli.utils.installation

OTX installation util functions.

otx.cli.utils.jsonargparse

Functions related to jsonargparse.

otx.cli.utils.workspace

Class modules that manage Workspace.