-
Notifications
You must be signed in to change notification settings - Fork 21
Labels
roflROFL related CLI issuesROFL related CLI issues
Description
- When running
rofl create, name the deployment by the selected network name (e.g.testnet,mainnet). - Add a
deployments.<deployment_name>.defaultbool field. Use this default deployment for rofl commands then, if no--deploymentflag provided. - Add
oasis rofl set-default <deployment>command which sets the default deployment. - Add a Hint for
set-defaultcommand to error message asking you to select a deployment.
Context: A few ROFL projects have been built and .orc sent to me for deployment. It's annoying when there is a bunch of .orc files in your folder and don't know which node you need to copy them over to (mainnet or testnet).
Alternatives
- There could be a
default_deploymentglobal bool field instead ofdeployments.<deployment_name>.default - We could also assume the first deployment in
rofl.yamlas default one (Makefile like). But since maps in go are not deterministic, this may be very tricky to implement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
roflROFL related CLI issuesROFL related CLI issues