adbertram

awin-cli

Use this skill for service operations only. DO NOT use this skill for CLI implementation lifecycle work such as creating, testing, updating, troubleshooting, validating, removing, or documenting the CLI tool itself; delegate those tasks to cli-tool-expert. Execute awin operations using the `awin` CLI tool. Awin Publisher API CLI -- list publisher accounts and advertiser programmes via Bearer token auth. Triggers: awin, awin cli, awin publisher, awin programmes, awin advertisers, list awin programs, awin affiliate, awin api.

adbertram 6 Updated 4mo ago

Resources

1
GitHub

Install

npx skillscat add adbertram/cli-tools/awin-cli

Install via the SkillsCat registry.

SKILL.md
Execute Awin Publisher API operations using the `awin` CLI. All Awin publisher and programme interactions should use this CLI. The `awin` CLI follows this pattern:
awin <command-group> <action> [arguments] [options]
Task Command
Authenticate awin auth login
Check auth awin auth status
List publisher accounts awin publishers list
Get one publisher awin publishers get PUBLISHER_ID
List joined programmes awin programmes list
List unjoined programmes awin programmes list --relationship notjoined
Get one programme awin programmes get PROGRAMME_ID
Clear cached responses awin cache clear
</quick_start>
**MANDATORY: Consult the adjacent `usage.json` at `/_repo/skills/-cli/usage.json` before executing ANY `awin` command.** It contains complete command syntax, arguments, options, and usage instructions. Awin uses Bearer token authentication. Generate the token at https://ui.awin.com/awin-api and run `awin auth login`. You will be prompted for the token AND your numeric Awin Publisher ID. List commands support `--limit/-l`, `--filter/-f`, `--properties/-p`, and `--table/-t`. JSON is the default on stdout. </essential_principles> **`usage.json`** — Complete command tree with arguments, options, defaults, and usage instructions for every command. </reference_index> - Command executes without error - Output is displayed in requested format - Correct command and flags used (verified against usage.json) </success_criteria>

Categories