๐Ÿ’ปUnitlab CLI

Use the Unitlab CLI to interact with your projects and datasets.

This guide shows how to use the most common CLI commands

Common commands

After installing the Unitlab package, you can efficiently manage your projects and datasets through the terminal. To access all the available commands, run unitlab --help. However, before executing any command, ensure you have an API key, which can be obtained by visiting the user account page.

Configuration

This command helps you configure your credentials. It saves the API key and URL in a configuration file ~/.unitlab/credentialsfor future use. Other commands can override the default API key if provided as an --api-keyoption.

Project list

To retrieve a list of your current projects, execute unitlab project list.

Uploading data

Users can upload images to the Unitlab project by using the unitlab project upload command.

Dataset list

The command unitlab dataset list allows users to list available public and private datasets.

Download a dataset

To download datasets, use unitlab dataset download command:

The examples are just a few of the CLI commands available to users. Depending on your specific needs and preferences, you can use a wide range of other commands.

Last updated