As a LoopBack dev, I should be able to export my api def as swagger, so that I do not have to run my app and curl http://localhost:3000/explorer/swagger.json.
$ slc loopback:export-api-definition
By default it should output the swagger document as yaml.
It should take a couple opts.
$ slc loopback:export-api-definition --json
That would output JSON instead of yaml.
Also, I should be able to use the output of the api-def tool as the input of another tool.
slc loopback:api-definition | apim publish-api-definition