For scripting or easier testing of running specific mass commands, it would be nice to be able to chain arguments together. I put together some examples of what that could look like:
mass app new:mass app new -n my-new-app -d "This app is cool" -t azure-app-service -c "massdriver/azure-virtual-network, massdriver/azure-service-principal, massdriver/postgresql-authentication", -x "vnet, sp, psql", -o "./cool-app-idea"
args:
name: -n, --name
description: -d, --description
template: -t, --template
connections: -c, --connections
connection names: -x, --connection-names
output: -o, --output
mass bundle new:mass bundle new -n azure-load-balancer -a private -d "I handle big loads" -o "./loading" -c "massdriver/azure-service-principal, massdriver/azure-virtual-network" -x "sp, vnet"
args:
name: -n, --name
access level: -a, --access-level
description: -d, --description
output: -o, --output
connections: -c, --connections
connection names: -x, --connection-names
The logic of this would be that for every connection listed, in order, would be indexed and match the list of connection names, in the same order.
For scripting or easier testing of running specific
mass
commands, it would be nice to be able to chain arguments together. I put together some examples of what that could look like:mass app new:
mass app new -n my-new-app -d "This app is cool" -t azure-app-service -c "massdriver/azure-virtual-network, massdriver/azure-service-principal, massdriver/postgresql-authentication", -x "vnet, sp, psql", -o "./cool-app-idea"
args:
-n
,--name
-d
,--description
-t
,--template
-c
,--connections
-x
,--connection-names
-o
,--output
mass bundle new:
mass bundle new -n azure-load-balancer -a private -d "I handle big loads" -o "./loading" -c "massdriver/azure-service-principal, massdriver/azure-virtual-network" -x "sp, vnet"
args:
-n
,--name
-a
,--access-level
-d
,--description
-o
,--output
-c
,--connections
-x
,--connection-names
The logic of this would be that for every connection listed, in order, would be indexed and match the list of connection names, in the same order.