jazz
jazz copied to clipboard
command line interface (CLI) mechanism for apps
Using a common REST API for even CLIs makes a lot of sense. It can work automatically-ish with API autodiscovery, ie OPTIONS request.
- Lighttouch JSON Interface
- https://github.com/foundpatterns/lighttouch/issues/144
(archived)
(archived)
swagger/openapi example: https://api.apis.guru/v2/specs/apis.guru/2.0.1/swagger.yaml https://apis.guru/browse-apis/
this seems viable and popular https://github.com/swagger-api/swagger-codegen https://github.com/swagger-api/swagger-codegen/tree/master/samples/client/petstore/bash
https://github.com/OpenAPITools/openapi-generator/blob/master/bin/bash-petstore.sh
(archived)
(archived)
https://github.com/danielgtaylor/restish
https://github.com/speakeasy-engine/lighttouch/issues/144