campaigns command lets you manage campaigns in your Loops account.
create
Create a new draft campaign. This also creates an empty email message — use email-messages update to set its subject, sender, preview text, and LMX content.
Flags
| Flag | Short | Description |
|---|---|---|
--name | -n | Campaign name Required |
get
Get a campaign by ID.
list
List campaigns.
--pick to filter the list interactively with fzf and copy the selected campaign ID to your clipboard. Requires fzf to be installed and on your PATH.
Flags
| Flag | Description |
|---|---|
--pick | Interactively pick a campaign and copy its ID to the clipboard. Requires fzf. |
--per-page | Results per page (10–50, default 20) |
--cursor | Pagination cursor for a specific page |
update
Update a draft campaign.
Flags
| Flag | Short | Description |
|---|---|---|
--name | -n | Campaign name Required |



