API key scopes
If cloning from a CI pipeline, the following API key scopes are required:devices:readdeployments:readconfig_instances:readreleases:read
Usage
- Current directory
- Custom root
- Device paths
By default, cloning a device writes the config files to the current directory.
string
required
Device name as the dashboard shows it. Names are unique within a workspace.The device must have a current deployment. To clone a deployment that is not the current one, use
miru deployment clone.Examples: robot-42string
Directory to write the cloned config files under. Defaults to the current directory.Each file is written at its device path relative to this directory, so
/srv/miru/configs/mobility.json lands at {--root}/srv/miru/configs/mobility.json. Pass / to write at the computer’s root.Examples: ./robot-42-fs, /boolean
Overwrite files that already exist at the destination. Without
--force, an existing file throws an error and is left untouched.
