@kud/sim-crafter-cli
v1.0.3
Published
A CLI tool to manage iOS simulators on macOS, simplifying testing and development workflows.
Downloads
37
Maintainers
Readme
Sim Crafter
Sim Crafter is a command-line interface tool designed to streamline the management of iOS simulators. With Sim Crafter, users can effortlessly list, create, delete, boot up simulators, and take screenshots directly from the terminal.
Features
- List Simulators: Display all available iOS simulators, including their OS versions, UDIDs, state, and availability.
- Create Simulators: Quickly create new simulators by selecting the device type and iOS version.
- Delete Simulators: Remove unnecessary simulators with ease.
- Boot Simulators: Start up a simulator by choosing from a list of available devices.
- Take Screenshots: Capture screenshots from an active simulator.
Installation
Sim Crafter can be installed through npm. To add it to your project, run the following command:
npm install -g @kud/sim-crafter-cli
Make sure you have Node.js installed on your system to use Sim Crafter.
Usage
Listing Available Simulators
To see all available simulators:
sim-crafter list-remote
Listing Simulators
To see all installed simulators:
sim-crafter list
Creating a Simulator
To create a new simulator:
sim-crafter create
Follow the prompts to choose a device type and iOS runtime for your new simulator.
Deleting a Simulator
To delete one or more simulators:
sim-crafter delete
You will be prompted to select the simulators you wish to delete from the presented list.
Booting a Simulator
To boot up a simulator:
sim-crafter boot
Select a simulator to boot from the list of available devices.
Taking a Screenshot
To capture a screenshot of a booted simulator:
sim-crafter screenshot
Choose a booted simulator and specify the path where you want the screenshot saved.
Contributing
Your contributions are welcome! Feel free to submit pull requests or open issues to suggest improvements or add new features to Sim Crafter.
License
Sim Crafter is distributed under the MIT License. See LICENSE
for more information.