feat: inital commit

- added template subcmd which generates frc project templates
This commit is contained in:
Squibid 2025-10-14 23:48:14 -04:00
commit 12cefa9092
Signed by: squibid
GPG key ID: BECE5684D3C4005D
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)
}