wp cli alias add <key>

Creates an alias

Arguments

NameDescription
keyKey for the alias

Options

NameDescription
--set-user <user>Set user for alias
--set-url <url>Set url for alias
--set-path <path>Set path for alias
--set-ssh <ssh>Set ssh for alias
--set-http <http>Set http for alias
--grouping <grouping>For grouping multiple aliases
--config <options>Config file to be considered for operations