Bugsnag CLI

Upload your Flutter app's Dart symbol files to Bugsnag using our CLI.
Installation
The binaries are available on our GitHub releases page for macOS, Linux and Windows.
To install or upgrade to the latest binary for your architecture, you can also run the following cURL or Wget commands:
curl -o- https://raw.githubusercontent.com/bugsnag/bugsnag-cli/main/install.sh | bash
wget -qO- https://raw.githubusercontent.com/bugsnag/bugsnag-cli/main/install.sh | bash
The script downloads the appropriate binary and attempts to install it to ~/.local/bugsnag.
Usage
See the our online docs for full usage information.
Usage: bugsnag-cli <command>
Flags:
-h, --help Show context-sensitive help.
--upload-api-root-url="https://upload.bugsnag.com" Bugsnag On-Premise upload server URL. Can contain port number
--port=443 Port number for the upload server
--api-key=STRING Bugsnag integration API key for this application
--fail-on-upload-error Stops the upload when a mapping file fails to upload to Bugsnag successfully
Commands:
upload all <path>
Upload any symbol/mapping files
upload dart <path>
Process and upload symbol files for Flutter
Run "bugsnag-cli <command> --help" for more information on a command.
Bugsnag On-Premise
If you are using Bugsnag On-premise, you should use the --upload-api-root-url option to set the url of your upload server, for example:
bugsnag-cli upload \
--upload-api-root-url https://bugsnag.my-company.com/
# ... other options
Support
Contributing
Most updates to this repo will be made by Bugsnag employees. We are unable to accommodate significant external PRs such as features additions or any large refactoring, however minor fixes are welcome. See contributing for more information.
License
This package is free software released under the MIT License. See license for details.