Files
rph/state/state.go
Squibid 12cefa9092 feat: inital commit
- added template subcmd which generates frc project templates
2025-10-14 23:48:14 -04:00

20 lines
272 B
Go

package state
import (
"fmt"
"os"
"path/filepath"
)
const Name = "rph"
var CachePath string
func Setup() {
var dir, err = os.UserCacheDir()
if err != nil {
fmt.Println("Unable to get user cache directory")
os.Exit(1)
}
CachePath = filepath.Join(dir, Name)
}