https://github.com/kud/sim-crafter-cli
Simplify device simulations: Sim Crafter is a minimal simctl wrapper for quick setup and management.
https://github.com/kud/sim-crafter-cli
macos simulator xcode
Last synced: 21 days ago
JSON representation
Simplify device simulations: Sim Crafter is a minimal simctl wrapper for quick setup and management.
- Host: GitHub
- URL: https://github.com/kud/sim-crafter-cli
- Owner: kud
- Created: 2024-03-14T14:04:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T14:04:56.000Z (over 1 year ago)
- Last Synced: 2024-09-23T15:38:09.870Z (over 1 year ago)
- Topics: macos, simulator, xcode
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@kud/sim-crafter-cli
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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:
```bash
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:
```bash
sim-crafter list-remote
```
### Listing Simulators
To see all installed simulators:
```bash
sim-crafter list
```
### Creating a Simulator
To create a new simulator:
```bash
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:
```bash
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:
```bash
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:
```bash
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.