sailpoint-oss / sailpoint-cli

The SailPoint Command Line Interface (CLI) makes it easy to interact with SailPoint's SaaS Platform in a programmatic way. Many functions that use to be accomplished through tools like Postman or from custom scripts can now be done directly on the command line with minimal setup.
https://developer.sailpoint.com/discuss
MIT License
22 stars 19 forks source link

[Feature] Simplified Free-Flow User Specified API Calls #84

Open LukeHagar opened 1 year ago

LukeHagar commented 1 year ago

This command would allow a user to run any api call they want, with the syntax of: sail api /the/endpoint

This would allow users to use the CLI in a much wider range of supported ways then what we support out of the box, and would let them make more complex calls in a pipeline fashion

Github has a great example: https://github.com/cli/cli/tree/trunk/api

ghost commented 1 year ago

https://github.com/cli/cli/blob/trunk/pkg/cmd/api/api.go