A command line interface to orchestrate Bolt in your GitHub repositories.
To check the status of Bolt instrumentation in your repository, run the following command in your repository's root directory:
bolt-cli scanTo fasten the workflow jobs in your repository using Bolt, run the following command in your repository's root directory:
bolt-cli fastenThis is an interactive command that will give you a list of all the workflow jobs in your repository. You can select the jobs you want to fasten and the command will automatically update the workflow files in your repository. Use arrow keys to move up and down. Use Space Bar to toggle selection of highlighted job/workflow. Press Ctrl+a to toggle between select all and select none. Press Enter to confirm your selection.
After following the above steps, Bolt-CLI will instrument the selected jobs in your repository. You can then commit and push the changes to your repository.
To learn more
bolt-cli fasten --helpOnce you have instrumented the workflows in your repository, you can check the egress report in summary section of the workflow runs under actions tab in your repository.
-
Get the version from the releases section and run the following command(Replace 0.0.5 with the version you want to use)
docker run -v "$(pwd):/app" -w /app -u $(id -u):$(id -g) -it ghcr.io/koalalab-inc/bolt-cli:0.0.5 scan
You can alias this command to
bolt-clifor ease of usealias bolt-cli='docker run -v "$(pwd):/app" -w /app -u $(id -u):$(id -g) -it ghcr.io/koalalab-inc/bolt-cli:0.0.5'
Now you can use
bolt-clias a command line toolbolt-cli scan
bolt-cli fasten
-
Get the version from the releases section and run the following command(Replace version, os and arch as per your system)
Following command will download the archive containing binary for MacOS x86_64curl -fsSL https://github.com/koalalab-inc/bolt-cli/releases/download/v0.0.5/bolt-cli_Darwin_x86_64.tar.gz
To download and place the binary in
/usr/local/binrun the following commandcurl -fsSL https://github.com/koalalab-inc/bolt-cli/releases/download/v0.0.5/bolt-cli_Darwin_x86_64.tar.gz | tar -xz -C "/usr/local/bin/" "bolt-cli"
On MacOS, if you get an error like
Cannot Verify That This App is Free from MalwareOrThis app is from an unidentified developer, you can run the following command to allow the binary to runsudo xattr -d com.apple.quarantine /usr/local/bin/bolt-cli





