Documentation
¶
Overview ¶
Command nsgo develops and builds NSGo apps.
nsgo init [-template go|tsx|mixed|module[@version]] [-name N] [-module M] [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 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
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.
Source Files
¶
- android.go
- android_classes.go
- android_host.go
- android_widgets.go
- androidshare.go
- appclip.go
- appimage.go
- appimage_update.go
- apple_assetpacks.go
- appleminimum.go
- applinks.go
- applinks_apple.go
- appname.go
- appstoreconnect.go
- arguments.go
- assetpacks.go
- automation.go
- build.go
- bundle.go
- capabilities.go
- cdp.go
- check.go
- cloud.go
- commands.go
- compliance.go
- delve.go
- dev.go
- devtools.go
- dmg.go
- dmgbackground.go
- doctor.go
- dsstore.go
- embed.go
- filelock_unix.go
- filetypes.go
- flags.go
- flatpak.go
- flatpak_bundle.go
- game.go
- i18n.go
- i18n_build.go
- i18n_gen.go
- i18n_message.go
- icon.go
- init.go
- init_module.go
- installer.go
- ios.go
- iosdev.go
- itch.go
- launch.go
- licenses.go
- linuxfiletypes.go
- linuxpkg.go
- listings.go
- listings_appstore.go
- listings_play.go
- macalias.go
- macalias_other.go
- macstore.go
- macwidgets.go
- main.go
- mcp.go
- mcp_apptool.go
- miniprogram.go
- msix.go
- msix_resources.go
- natives.go
- notarize.go
- nsis.go
- package.go
- package_natives.go
- pkgmanifests.go
- plistvalue.go
- preview.go
- privacy.go
- process.go
- process_unix.go
- profile.go
- project.go
- publish.go
- publish_apple.go
- publish_play.go
- release.go
- resources.go
- sign.go
- squashfs.go
- steam.go
- steam_linux_runtime.go
- storekit.go
- tags.go
- test.go
- testbundle.go
- testflags.go
- testharmony.go
- testmobile.go
- testscreen.go
- testtarget.go
- testweb.go
- tui.go
- tui_process_other.go
- ui.go
- ui_other.go
- updates.go
- urlschemes.go
- watchos.go
- web_address.go
- web_module.go
- weboffline.go
- widgets.go
- windows_command.go
- winres.go
- winsign.go
- zsync.go
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. |