Skip to content

Commands

Quick reference for all willhaben-cli commands.

Authentication

CommandDescription
loginAuthenticate with willhaben
logoutClear stored credentials
whoamiShow current user info

Listings

CommandDescription
listList all your listings
getGet listing details
publishCreate a new listing
updateUpdate listing properties
deleteDelete a listing

Listing Actions

CommandDescription
republish <id>Republish an expired listing
deactivate <id>Take a listing offline
reserve <id>Mark as reserved
unreserve <id>Remove reservation
sold <id>Mark as sold

Images

CommandDescription
imagesManage listing images

Configuration

CommandDescription
config getShow current configuration
config setSet a configuration value
config resetReset to defaults
config pathShow config file path

Global Options

All commands support:

OptionDescription
--jsonOutput as JSON (for scripting)
--helpShow command help
--versionShow version

Released under the MIT License. Not affiliated with willhaben.