Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.2.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = devVersion
	Commit  = "none"
	Date    = "unknown"
)

Version metadata, overridable at build time via -ldflags. Builds without ldflags (e.g. `go install …@vX.Y.Z`) fall back to the Go build info.

Functions

func Execute

func Execute()

Execute is the CLI entrypoint. It adds git-style external plugin dispatch on top of cobra: an unknown `togo <x>` is resolved to a `togo-<x>` executable on PATH or in ~/.togo/bin before cobra reports "unknown command".

func RegisterMake

func RegisterMake(root *cobra.Command)

RegisterMake adds the make:* family: the core flow (model → controller → view), the all-in-one resource shortcut, actions, and single-artifact generators.

Types

This section is empty.

Directories

Path Synopsis
Command togo is the CLI for the togo framework — a Laravel-artisan-like developer experience for the Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js stack.
Command togo is the CLI for the togo framework — a Laravel-artisan-like developer experience for the Go + sqlc + Atlas + GraphQL/OpenAPI + Next.js stack.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL