You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
From the @sebastianwebber's work on adding clap and a --help I saw the opportunity to improve pgcat with some cli commands to eliminate some "toil".
Describe the solution you'd like
I'm working on the PR #547 to add some cli subcommands to pgcat command line, so it can works as a cli. This could open doors to create stable interfaces and automate things like change pgcat configuration.
The current code is a work in progress and implements a config subcommand to pgcat. By now only list pools is implemented, but the goal is to implements all the "CRUD" for configuration, so we can edit config file without open it any editor 😄
The current implementation reads configuration after it is loaded. If you think that this a good idea I'm planning to implement not only the "CRUD" but also refactor the main.rs a bit, to organize the cli code and the server code.
See bellow some pgcat config pools list output of different files:
Is your feature request related to a problem? Please describe.
From the @sebastianwebber's work on adding clap and a
--help
I saw the opportunity to improve pgcat with some cli commands to eliminate some "toil".Describe the solution you'd like
I'm working on the PR #547 to add some cli subcommands to
pgcat
command line, so it can works as a cli. This could open doors to create stable interfaces and automate things like changepgcat
configuration.The current code is a work in progress and implements a
config
subcommand to pgcat. By now only list pools is implemented, but the goal is to implements all the "CRUD" for configuration, so we can edit config file without open it any editor 😄The current implementation reads configuration after it is loaded. If you think that this a good idea I'm planning to implement not only the "CRUD" but also refactor the
main.rs
a bit, to organize thecli code
and theserver code
.See bellow some
pgcat config pools list
output of different files:I appreciate any suggestions to PR #547.
The text was updated successfully, but these errors were encountered: