sfdk-emulator-remove
Remove Salesforce Functions emulators
TLDR
View documentation for sfdk emulator install
SYNOPSIS
sfdk-emulator-remove [-f|--force] [-h|--help] <emulator_name>
PARAMETERS
<emulator_name>
Mandatory. The unique name or identifier of the Sailfish OS emulator instance to be removed. This name is typically assigned during the emulator's creation.
-f, --force
Force the removal of the emulator without prompting for confirmation. Use this option with extreme caution, as it bypasses safety checks.
-h, --help
Display a help message outlining the command's usage and options, then exit.
DESCRIPTION
The sfdk-emulator-remove command is a specialized utility within the Sailfish OS SDK, designed for managing and uninstalling virtual machine emulators. These emulators provide a simulated Sailfish OS environment for developers to test applications without physical hardware. When invoked, this command permanently deletes a specified emulator instance, including its virtual disk image, configuration files, and any stored data. This action is irreversible and primarily serves to free up disk space and clean up the development environment. It requires the precise name or ID of the emulator to be removed, which can typically be listed using other sfdk-emulator commands. It is a critical tool for maintaining a tidy and efficient development workspace.
CAVEATS
Removal of an emulator is an irreversible operation that permanently deletes all associated data, including any applications, settings, or files stored within that specific emulator instance. Ensure no critical data resides within the emulator and that no development processes are actively using it before proceeding. This command requires the Sailfish OS SDK to be correctly installed and configured on your system for proper functionality.
DISK SPACE MANAGEMENT
Removing unused or obsolete emulators is crucial for freeing up significant disk space on your development machine, as individual emulator images can often consume several gigabytes of storage.
COMMAND-LINE INTEGRATION
As a command-line utility, sfdk-emulator-remove can be easily integrated into automated scripts for batch operations or continuous integration/development workflows, streamlining the management of testing environments.
HISTORY
The sfdk-emulator-remove command has been an integral part of the Sailfish OS SDK since its early versions, evolving alongside the SDK's capabilities. Its development focused on providing developers with a straightforward method to manage their virtual testing environments, ensuring efficient resource allocation and workspace cleanup. Its functionality has remained consistent, reflecting the fundamental need for emulator lifecycle management.
SEE ALSO
sfdk-emulator-create(1), sfdk-emulator-list(1), sfdk-emulator-start(1), sfdk-emulator-stop(1), sfdk(1)