Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically build list of available functions #131

Open
pgporada opened this issue Jul 23, 2021 · 0 comments
Open

Dynamically build list of available functions #131

pgporada opened this issue Jul 23, 2021 · 0 comments

Comments

@pgporada
Copy link
Contributor

pgporada commented Jul 23, 2021

Currently, the way to use this code appears to be having two terminals open. One session with the API client and another session looking at the case statements in main.go to see a list of available functions. This feels obtuse.

It would be nice to have the following or something like it

$ ./proxmox-api-go -h
Usage of ./proxmox-api-go:
  -function_list

$ ./proxmox-api-go -function_list
createQemuSnapshot
listQemuSnapshot
rollbackQemu
sshforward
sshbackward
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant