Skip to content

hardis📦version:create

Description

Create a new version of an unlocked package

Parameters

Name Type Description Default Required Options
apiversion option override the api version used for api requests made by this command
debug
-d
boolean Activate debug mode (more logs)
deleteafter boolean Delete package version after creating it
install
-i
boolean Install package version on default org after generation
installkey
-k
option Package installation key
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
package
-p
option Package identifier that you want to use to generate a new package version
skipauth boolean Skip authentication check when a default username is required
targetdevhubusername
-v
option username or alias for the dev hub org; overrides default dev hub org
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sfdx hardis:package:version:create