01 - Hello World¶
Start here! This is the simplest possible Mooncake configuration.
What You'll Learn¶
- Running basic shell commands
- Using global system variables
- Multi-line shell commands
Quick Start¶
What It Does¶
- Prints a hello message
- Runs system commands to show OS info
- Uses Mooncake's global variables to display OS and architecture
Key Concepts¶
Shell Commands¶
Execute commands with the shell action:
Multi-line Commands¶
Use | for multiple commands:
Global Variables¶
Mooncake automatically provides system information:
- {{os}} - Operating system (linux, darwin, windows)
- {{arch}} - Architecture (amd64, arm64, etc.)
Output Example¶
▶ Print hello message
Hello from Mooncake!
✓ Print hello message
▶ Print system info
OS: Darwin
Arch: arm64
✓ Print system info
▶ Show global variables
Running on darwin/arm64
✓ Show global variables
Next Steps¶
Continue to 02-variables-and-facts to learn about custom variables and all available system facts.