RuneLog Command-Line Interface (CLI)¶
The RuneLog CLI provides a powerful, terminal-based interface for interacting with your experiments, runs, and model registry. It's designed to be a fast and efficient alternative to the web UI for common tasks.
Installation¶
The CLI is automatically installed when you install the runelog package:
General Usage¶
All commands follow a standard structure. You can get help for any command or sub-command by adding the --help flag.
Experiment Commands (runelog experiments)¶
Manage and inspect your experiments.
runelog experiments list¶
Lists all available experiments in your project.
runelog experiments get¶
Get details for a specific experiment.
🚧 Note: This command is not yet fully implemented.
runelog experiments delete¶
Deletes an experiment and all of its associated runs. This action is irreversible.
runelog experiments export¶
Exports all run data (parameters and metrics) from a specific experiment to a CSV file.
Options:
-o, --output TEXT: Path to save the CSV file. Defaults to<experiment_name>_export.csv.
Example:
Run Commands (runelog runs)¶
Manage and inspect individual runs.
runelog runs list¶
Lists all runs for a given experiment.
runelog runs get¶
Displays the detailed parameters, metrics, and artifacts for a specific run.
runelog runs delete¶
Deletes a specific run as well its parameters, metrics, and artifacts.
runelog runs download-artifact¶
Downloads an artifact file from a specific run to your local machine.
Options:
-o, --output-path TEXT: Directory to save the artifact. Defaults to the current directory.
Example:
runelog runs compare¶
Displays a side-by-side comparison of the parameters and metrics for two or more runs.
Registry Commands (runelog registry)¶
Manage the model registry.
runelog registry list¶
Lists all models in the registry and shows their latest version information.
runelog registry get-versions¶
Lists all available versions for a specific registered model.
runelog registry tag¶
Adds or removes tags for a specific model version.
Options:
-a, --add TEXT: Tag to add/update inkey=valueformat.-r, --remove TEXT: Tag key to remove.
Example:
Interface Commands¶
runelog ui¶
Launches the Runelog Streamlit web UI in your browser.
Usage:
Example Commands¶
runelog examples¶
Run the example scripts included with the library.
Usage:
Commands:
minimal: Runs theminimal_tracking.pyexample.train: Runs thetrain_model.pyexample.