jazzdotdev / jazz

The Scripting Engine that Combines Speed, Safety, and Simplicity
Apache License 2.0
146 stars 11 forks source link

command line interface (CLI) mechanism for apps #295

Open naturallymitchell opened 5 years ago

naturallymitchell commented 5 years ago

Using a common REST API for even CLIs makes a lot of sense. It can work automatically-ish with API autodiscovery, ie OPTIONS request.

naturallymitchell commented 5 years ago

(archived)

naturallymitchell commented 5 years ago

(archived)

naturallymitchell commented 5 years ago

swagger/openapi example: https://api.apis.guru/v2/specs/apis.guru/2.0.1/swagger.yaml https://apis.guru/browse-apis/

naturallymitchell commented 5 years ago

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

naturallymitchell commented 5 years ago

(archived)

naturallymitchell commented 5 years ago

(archived)

naturallymitchell commented 2 years ago

https://github.com/danielgtaylor/restish

naturallymitchell commented 2 years ago

https://github.com/speakeasy-engine/lighttouch/issues/144