nexus

command
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package main is the entry point for the Nexus CLI devtool.

This file is intentionally minimal — it exists only to wire build-time version variables into the version package and call cli.Execute(). All command definitions, TUI logic, and business logic live in internal/.

Build-Time Variables:

These are injected via -ldflags at compile time (see Makefile):
  -X github.com/Gamingstein/nexus/internal/version.Version=$(VERSION)
  -X github.com/Gamingstein/nexus/internal/version.Commit=$(COMMIT)
  -X github.com/Gamingstein/nexus/internal/version.BuildTime=$(BUILD_TIME)

Usage:

go build -ldflags "-s -w -X ..." -o ./bin/nexus ./cmd/nexus
./bin/nexus --help
./bin/nexus init my-backend
./bin/nexus version

Jump to

Keyboard shortcuts

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