Capacity Management via CLI - Xyna-Factory/xyna GitHub Wiki

CLI commands corresponding to the Capacity management operations:

 ''# Define a new Capacity''
 ./xynafactory.sh '''addcapacity''' -name <arg> -cardinality <arg> [-state <arg>]
 
 ''# Change the cardinality of an existing Capacity''
 ./xynafactory.sh '''changecapacitycardinality''' -name <arg> -newCardinality <arg>
 
 ''# Change the name of an existing Capacity''
 ./xynafactory.sh '''changecapacityname''' -name <arg> -newName <arg>
 
 ''# Change the state of an existing Capacity''
 ./xynafactory.sh '''changecapacitystate''' -name <arg> -state <arg>
 
 ''# List all defined Capacities and their status''
 ./xynafactory.sh '''listcapacities''' [-v]
 
 ''# List the Capacities that are currently required by the given Order Type''
 ./xynafactory.sh '''listcapacitiesforordertype''' -orderType <arg> [-applicationName <arg>]
     [-versionName <arg>] [-workspaceName <arg>]
 
 ''# List all defined Capacities and the Order Types that depend on them''
 ./xynafactory.sh '''listcapacitydependencies'''
  
 ''# Remove an existing Capacity''
 ./xynafactory.sh '''removecapacity''' -name <arg>
 
 ''# Stop requiring the specified Capacity for the given Order Type''
 ./xynafactory.sh '''removecapacityforordertype''' -capacityName <arg> -orderType <arg>
     [-applicationName <arg>] [-u] [-versionName <arg>] [-workspaceName <arg>]
 
 ''# Require the specified Capacity for the given Order Type''
 ./xynafactory.sh '''requirecapacityforordertype''' -capacityName <arg> -cardinality <arg> -orderType <arg>
     [-applicationName <arg>] [-u] [-versionName <arg>] [-workspaceName <arg>]
 
 ''# Require the specified Capacity for the given Workflow''
 ./xynafactory.sh '''requirecapacityforwf''' -capacityName <arg> -cardinality <arg> -workflowName <arg>
⚠️ **GitHub.com Fallback** ⚠️