API Reference

Comprehensive reference for all Gophel CLI commands, options, and usage examples.

Authentication

Authenticate with your username and API key

gophel auth

Show current authentication status

gophel auth status

Log out and remove session

gophel auth logout
Application Management

Build and run a Go application from the current directory

gophel build <NAME> --port <PORT>

Rebuild and run an existing application

gophel rebuild <ID> --port <PORT>

Start a specific application

gophel start <ID> --port <PORT>

Stop a running application

gophel stop <ID>

Restart an application

gophel restart <ID>

Remove an application from Gophel

gophel remove <ID>
Application Information

List all applications across all monitored servers

gophel list

Show detailed status of a specific application

gophel status <ID>

Display and stream logs for a specific application

gophel log <ID>
Monitoring & Multi-Server

Start the WebSocket monitoring service for all servers

gophel monitor
Other Commands

Show the current version of Gophel CLI

gophel version