nsgo

command
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 102 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command nsgo develops and builds NSGo apps.

nsgo init  [-template go|tsx|mixed|module[@version][#name]] [-name N] [-module M] [-list] [dir]
                                                      write a new app
nsgo dev   [-target T] [-hot-reload=false] [-trace] [-automation] [-limits[=L]] [-preview PKG] [flags] [dir]
                                                      run the app and rebuild it on changes
nsgo mcp   [dev flags] [dir]                         serve MCP on standard input and output to drive the
                                                      app nsgo dev -automation runs, started if none does
nsgo build [-target all|T,...] [flags] [dir]         build packages for nsgo.yaml's targets or all platforms
nsgo test  [-run R] [-bench R] [-junit F] [-trace] [-target T [-fps]] [dir | entry] [-- go test flags]
                                                      run the app's tests or benchmarks, or an entry
                                                      with the steps of standard input, headless or
                                                      on a platform
nsgo check [-target T] [-jobs N] [dir]               vet the app and type-check its TSX
nsgo i18n  [-source L] [dir]                         check catalogs and write their Go code
nsgo game  <command> [args]                          run the game layer's command: the module's go.mod
                                                      tool, else go run of its release for this NSGo
nsgo version                                         print which nsgo runs
nsgo doctor                                          show which targets this machine builds and runs
nsgo keygen                                          print a key pair for updates or signed packages
nsgo certify -key P -apps A [-days N] [-out F]       certify a release key for apps
nsgo publish itch -target web,macos_arm64 [dir]
                                                      upload built packages to itch.io
nsgo publish -cert C [-entry E] [-min-runtime V] [-out F] [dir | package]
                                                      compile a TSX app into a signed package, or sign one again
nsgo publish ios|macos <file>
                                                      upload a signed IPA or PKG to App Store Connect
nsgo publish -store appstore|play|all [-listings DIR] [-dry-run] [-platform P] [-version V] [-track T] [dir]
                                                      validate and upload store listings from YAML and Markdown files
nsgo publish -target android -track TRACK [dir | bundle.aab]
                                                      upload an Android App Bundle and commit a Play track release
nsgo verify  [-root P,... [-revocations F,...]] package
                                                      check a package and print what it holds
nsgo revoke  -sequence N [-days N] [-keys IDs] [-packages H,...] -out F
                                                      sign a revocation list
nsgo X [args]                                        run an extension: the module's go.mod tool X with
                                                      go tool, else nsgo-X on PATH

In a module whose go.mod pins nsgo as a tool at another version, nsgo first runs that one, go tool nsgo, with the same arguments; NSGO_NO_DELEGATE=1 turns that off.

dir is the app's directory, holding nsgo.yaml and its main package; it defaults to the current directory, and may end in /..., as go's patterns do. test and check also take a directory without nsgo.yaml, such as a library or a module's root, and run on every package under it. Flags replace the nsgo.yaml values they name; -h lists them.

Put flags before the path. Headless, test forwards go test flags after the path, -run, -timeout, -bench and -trace there included; a target run accepts only -short, -count, -cpu, -parallel, -failfast and -fullpath there.

Directories

Path Synopsis
Package apk writes Android packages: the ZIP archive, the binary manifest and the v2 signature.
Package apk writes Android packages: the ZIP archive, the binary manifest and the v2 signature.
Package flatpak writes self-contained Flatpak bundles in Go.
Package flatpak writes self-contained Flatpak bundles in Go.
Package harmony assembles the HAP the harmonyos target builds: an ArkTS host whose Web serves the app's web build from the HAP's rawfile directory, with module.json and pack.info named for the app.
Package harmony assembles the HAP the harmonyos target builds: an ArkTS host whose Web serves the app's web build from the HAP's rawfile directory, with module.json and pack.info named for the app.
Package pri writes the Windows resource index used by MSIX package manifests.
Package pri writes the Windows resource index used by MSIX package manifests.
Package shareextension is the Go support code for the iOS extension nsgo packages.
Package shareextension is the Go support code for the iOS extension nsgo packages.
Package windowsinstaller is the Windows installer runtime embedded as source by the nsgo tool.
Package windowsinstaller is the Windows installer runtime embedded as source by the nsgo tool.

Jump to

Keyboard shortcuts

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