mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-19 11:31:03 +00:00
* feat: Add enhanced python-based ACL * fix: Port enhanced ACL to TypeScript * fix: greptile suggested bugs
29 lines
632 B
Go
29 lines
632 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"browseros-dev/proc"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "browseros-dev",
|
|
Short: "BrowserOS development & testing CLI",
|
|
Long: proc.BoldColor.Sprint("browseros-dev") + proc.DimColor.Sprint(" — development & testing CLI for BrowserOS") + `
|
|
|
|
Manages browser, server, and extension processes for local development and testing.`,
|
|
CompletionOptions: cobra.CompletionOptions{DisableDefaultCmd: true},
|
|
SilenceUsage: true,
|
|
SilenceErrors: true,
|
|
}
|
|
|
|
func Execute() {
|
|
if err := rootCmd.Execute(); err != nil {
|
|
fmt.Fprintln(os.Stderr, err)
|
|
os.Exit(1)
|
|
}
|
|
}
|