Skip to main content

Command reference

Every command and flag is documented in the CLI's built-in help, which is always in sync with the installed version:

bugsee-cli --help # top-level command list + global flags
bugsee-cli <command> --help # full options for one command

This page maps the command tree to the guides in this section.

Global flags

FlagEnvironment variableDescription
--app-token <APP_TOKEN>BUGSEE_APP_TOKENApp token. Required by the upload commands; ignored by the resolvers.
--endpoint <ENDPOINT>BUGSEE_ENDPOINTAPI endpoint (default https://api.bugsee.com). Used only by upload commands.
-h, --helpPrint help.
-V, --versionPrint the CLI version.

See Configuration for details.

Commands

CommandWhat it doesGuide
debug-files uploadDiscover, package, and upload debug information files (ProGuard, ELF, dSYM, source maps).Debug files
sourcemaps injectInject deterministic debug IDs into JS bundles and their .map files.Source maps
upload buildRegister a build and upload its artefact (single-PUT or chunked).Builds
upload build-infoUpload per-build metadata sidecars in one bundle.Builds
packBuild the normalized upload ZIP locally, without uploading.Builds
xcode post-actionRun the whole iOS build-publish flow from an Xcode post-action.iOS build publishing
vcs-metadataResolve VCS metadata (provider, commit, branch, PR, repo).Metadata resolvers
ios-deps collectCollect the iOS dependency graph from lockfiles + linked frameworks.Metadata resolvers
build-env xcode-versionResolve the dotted Xcode version.Metadata resolvers
build-env machine-labelEmit the CI-aware host label.Metadata resolvers
build-env read-plistRead an Info.plist's scalar keys as JSON.Metadata resolvers
dsym uuidExtract Mach-O UUIDs from a dSYM bundle or binary.Metadata resolvers
dsym slicesSame as uuid, with per-slice architecture.Metadata resolvers
updateSelf-update the binary (same-major).Updating the CLI

Exit codes

Upload commands follow a structured exit-code contract; resolvers exit 0 and signal "no result" through their JSON output shape.

Found an issue, typo, or wrong statement on this page? Report it now →