Skip to content

hardis:org:community:update

Description

Activate or deactivate a community by changing it's status:

  • Live
  • DownForMaintenance

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
flags-dir option undefined
json boolean Format output as json.
name
-n
option List of Networks Names that you want to update, separated by comma
status
-s
option New status for the community, available values are: Live, DownForMaintenance
target-org
-o
option undefined

Examples

$ sf hardis:org:community:update --name 'MyNetworkName' --status DownForMaintenance
$ sf hardis:org:community:update --name 'MyNetworkName,MySecondNetworkName' --status Live