restish
restish copied to clipboard
distribute with pre-configured api
Can restish be used to package an API into a cli, with an api already configured? Or otherwise be used as a library to build a custom cli?
@openint-bot you can use it as a library, take a look at the main.go file and the cli.Run() implementation you could customize to your liking.
Just FYI it's generally recommended to encourage your users to just grab Restish itself rather than shipping a custom tool, as this means they can use it for many different APIs. You can set up things like CLI auto-configuration to make it easier for users to get started.