Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/stratosphere-ve/core/llms.txt

Use this file to discover all available pages before exploring further.

Stratosphere Core currently ships with an interactive numbered CLI menu. This page documents every available menu option, the underlying function each option calls, and known limitations. The CLI is a placeholder for a future GUI — the numbered prompt is the primary interface for now.

Running the CLI

go run main.go
After launching, you will see the main menu. Enter a number and press Enter to select an option.
The CLI uses a numbered menu, not named subcommands. There are no flags or arguments — all input is a single integer choice.

Watchers

OptionActionFunction called
1Change CpuWatcher polling rateSets rate to 2 s, then calls WatchCPU()
2View CPU usageWatchCPU()
3Change RAMWatcher polling rateSets rate to 2 s, then calls WatchRAM()
4View RAM usageWatchRAM()
Options 1 and 3 currently hardcode the polling rate to 2 seconds. Support for user-specified polling intervals is planned for a future release.
Options 2 and 4 (and the watcher calls triggered by options 1 and 3) start an infinite monitoring loop. Press Ctrl+C to stop.

VM management

OptionActionFunction called
5View VM resource allocationVMResourceAllocation()
6View VM statusVMRunningStatus()
7View both resource allocation and statusVMResourceAllocation() then VMRunningStatus()
8Create VMVMCreate()
9Delete VMVMDelete()
10Manage VM (opens submenu)VMManage()

VMManage submenu

Option 10 opens a nested submenu with the following choices:
OptionActionStatus
1Start VMNot yet implemented
2Stop VMNot yet implemented
3Restart VMNot yet implemented
4Rename VMImplemented — calls VMRename()
50Exit submenu
Start (1), Stop (2), and Restart (3) in the VMManage submenu are placeholder stubs. Selecting them does nothing until hypervisor integration is added.

Other

OptionAction
50Exit the CLI

Build docs developers (and LLMs) love