Skip to main content

HAC Client CLI

Command-line interface for the SAP Commerce HAC (Hybris Administration Console). Execute Groovy, FlexibleSearch, Impex, and system updates from your terminal.

Get Started →GitHub ↗

Commands

CommandDescription
hac groovyExecute Groovy scripts inline or from files
hac flexsearchRun FlexibleSearch queries (table, CSV, JSON)
hac impexImport Impex data with validation modes
hac updateSystem updates, patches, and initialization
hac sessionStart, import, list, and clear sessions
hac envManage environments
hac endpointManage endpoints within environments
hac configView and validate configuration

Architecture

This CLI is a thin adapter over hac-client-core. It maps command-line arguments to core library calls, handles configuration loading and output formatting, and contains no business logic — safe for automation and scripting.