Acquires a dev instance and releases it after the callback completes or throws.
The command, project and output options for the instance.
The work to run while the instance is owned.
The callback's result after instance cleanup completes.
Acquires a dev instance and releases it after the callback completes or throws.