main.go 226 B

12345678910111213141516
  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. "github.com/kotoyuuko/cc-switch-cli/internal/cli"
  6. )
  7. func main() {
  8. code, err := cli.Execute(os.Args[1:])
  9. if err != nil {
  10. fmt.Fprintln(os.Stderr, "cc-switch:", err)
  11. }
  12. os.Exit(code)
  13. }