feat: inital commit

- added template subcmd which generates frc project templates
This commit is contained in:
2025-10-14 23:48:14 -04:00
commit 12cefa9092
15 changed files with 2037 additions and 0 deletions

19
state/state.go Normal file
View File

@@ -0,0 +1,19 @@
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)
}