CLI
init
Initialize cuse in an existing project
Usage
Description
The init
command initializes cuse in your current project directory. It creates a configuration file (cuse.config.yml
) and sets up the necessary proxy server for managing virtual computers.
Options
Option | Alias | Description |
---|---|---|
--force | -f | Force the initialization process, overwriting existing configuration |
--yes | -y | Skip confirmation prompts |
Interactive Configuration
The command will prompt you for:
- Project name (defaults to current directory name)
- Project description (optional)
Example
Output
After successful initialization, you’ll see:
- Confirmation of configuration file creation
- URLs for accessing your computers:
- API endpoint:
http://localhost:4242/<computer-name>
- noVNC interface:
http://localhost:4242/<computer-name>/novnc/
- VNC endpoint:
http://localhost:4242/<computer-name>/vnc/
- API endpoint: