
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
buddyworks-cli
Advanced tools
The buddy.works command line utility.
npm install -g buddyworks-cli
After installation the buddy-cli CLI tool will be available to you.
You can call buddy-cli -h to find out more about all of the following commands.
In order to call any command you must first generate auth token in your buddy-works myid If you are using standalone Buddy Enterprise you can do the same but in your own instance. Your token must have this scopes in order to work properly:
buddy-cli pipeline <cmd>
Shortcut:
buddy-cli pl <cmd>
Pipeline parameter is id of pipeline. You can get it from pipeline list command described below. Apart from that you must also passed token, workspace and project. They are mandatory arguments but you can also store them in environmental variables or through config command which enable you to shorten your commands (more below)
buddy-cli pl run [pipeline]
Shortcut:
buddy-cli pl r [pipeline]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
-r, --revision Revision from the repository that will be executed in the pipeline
-c, --comment Execution comment
-f, --refresh Execute from scratch
buddy-cli pl retry [pipeline]
Shortcut:
buddy-cli pl t [pipeline]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
buddy-cli pl cancel [pipeline]
Shortcut:
buddy-cli pl c [pipeline]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
buddy-cli pl inspect [pipeline]
Shortcut:
buddy-cli pl i [pipeline]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
buddy-cli pl ls
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
-e, --page Which page to show (by default first 20 pipelines are shown)
buddy-cli pl executions [pipeline]
Shortcut:
buddy-cli pl exs [pipeline]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
-e, --page Which page to show (by default last 20 executions are shown)
buddy-cli pl execution [execution]
Shortcut:
buddy-cli pl ex [execution]
[execution] parameter is id of the execution. If none passed last execution of the pipeline will be shown
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-p, --project Name of a project in which run this command
-l, --pipeline Id of a pipeline in which run this command
buddy-cli project <cmd>
Shortcut:
buddy-cli pj <cmd>
The same rules for arguments apply here. Some mandatory arguments (like project name) can be stored in config or in env variables.
buddy-cli pj ls
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
-s, --status Filter by project status [choices: "ACTIVE", "CLOSED", "ANY"] [default: "ANY"]
-m, --mine Show only projects in which user is a member
-e, --page Which page to show (by default first 20 projects are shown)
buddy-cli pj inspect [project]
Shortcut:
buddy-cli pj i [project]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
-w, --workspace Name of a workspace in which run this command
buddy-cli workspace <cmd>
Shortcut:
buddy-cli ws <cmd>
The same rules for arguments apply here. Some mandatory arguments (like workspace name) can be stored in config or in env variables.
buddy-cli ws ls
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
buddy-cli ws inspect [workspace]
Shortcut:
buddy-cli ws i [workspace]
Options:
-v, --version Show version
-h, --help Show help
-j, --json Output json
-t, --token Token to authenticate request
-u, --url Base url for app (default: api.buddy.works)
buddy-cli config <cmd>
Shortcut:
buddy-cli cf <cmd>
Config command is used to store some arguments for future use. For example if you often run the same pipeline again and again you can store command params in config:
buddy-cli cf set token my-token
buddy-cli cf set workspace my-workspace
buddy-cli cf set project my-project
buddy-cli cf set pipeline my-pipeline
Next time you want to run your pipeline you can just call
buddy-cli pl run
That's it! You can always however override default config params with standard command --param
buddy-cli cf set <key> [val]
key name is mandatory and can be one of these values:
-v, --version Show version
-h, --help Show help
-j, --json Output json
buddy-cli cf get [key]
key can be one of these values:
By default all keys are returned
buddy-cli cf clear
It resets config to default values (empty all keys and url pointed to api.buddy.works)
In order to store config values you can also use env variables - it is very useful if you are using buddy-cli in some continues integration (ci) or continues deployment (cd) environment. Indeed you can use it even in our own system @ buddy.works These is the list of variables you can use:
buddy-cli will use these params in order: first command line arguments, if none passed it will use env variables, next it will try to use config variables. If none is found and argument is mandatory it will throw error.
This project is licensed under the MIT License.
FAQs
Command line tool for managing pipelines in Buddy Works
We found that buddyworks-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.