sophia
9f51d87038
Update ruby execute func for new proto
2022-04-25 12:24:02 -05:00
sophia
3107da72af
Execute subcommands
2022-04-25 12:24:02 -05:00
sophia
201b36ab15
Run correct command plugin for subcommands
2022-04-25 12:24:01 -05:00
sophia
475c5b41d8
Allow commands to have subcommands specified as a list of command components
2022-04-25 12:24:01 -05:00
sophia
e9e7768472
Register command with subcommands (subcommands are not seperate plugins)
2022-04-25 12:24:01 -05:00
sophia
5508f7cf39
Rename commands plugin -> command
2022-04-25 12:24:01 -05:00
sophia
1f19783dce
Make go plugin flags work
2022-04-25 12:24:01 -05:00
sophia
66300d9d32
Execute subcommands
2022-04-25 12:24:01 -05:00
sophia
fb6842a3c0
Make subcommands match new command info form
2022-04-25 12:24:01 -05:00
sophia
e4f6c403e1
Add some subcommands to myplugin
2022-04-25 12:24:01 -05:00
sophia
0a57d0ba10
Save point: go command plugin
2022-04-25 12:24:01 -05:00
sophia
7fb193f4a2
Add dummy endpoint for subcommands
2022-04-25 12:24:01 -05:00
sophia
3c491fafdd
Register subcommands with subcommands passed as part of command info
2022-04-25 12:24:01 -05:00
sophia
0414be7cf7
Don't get synopsis for subcommands
2022-04-25 12:24:01 -05:00
sophia
261fa5bbae
Fixes for command info message
2022-04-25 12:24:00 -05:00
sophia
06b1caedf8
Register all subcommands
2022-04-25 12:24:00 -05:00
sophia
c676768674
Get subcommands one level deep
2022-04-25 12:24:00 -05:00
sophia
65d990efc9
Start gatching subcommands to register
2022-04-25 12:24:00 -05:00
sophia
072e06ca79
Get list of subcommands
2022-04-25 12:24:00 -05:00
sophia
1f432350ea
Add dummy endpoint for subcommands
2022-04-25 12:24:00 -05:00
sophia
893e37711e
Setup dummy env
2022-04-25 12:24:00 -05:00
sophia
5498c22983
Get help and flags for subcommands
2022-04-25 12:24:00 -05:00
sophia
254c462add
De-duplicate component type factory map
2022-04-25 12:24:00 -05:00
sophia
d004125712
Register builtin plugins against all available components
2022-04-25 12:24:00 -05:00
Chris Roberts
ab59e254ac
Revert addition of readers as they are no longer required
2022-04-25 12:24:00 -05:00
Chris Roberts
a39eebd882
Include prepended method for adding reader
2022-04-25 12:23:59 -05:00
Chris Roberts
5613f0b4ad
Use ephemeral command plugin class to process arguments for subcommand
2022-04-25 12:23:59 -05:00
Chris Roberts
a103f6fb17
Restore the machine class and update thin class to remote module
2022-04-25 12:23:59 -05:00
Chris Roberts
3512028ca4
Define callbacks which should be run when enabling server mode
2022-04-25 12:23:59 -05:00
Chris Roberts
cefb514f77
If running as server enable server mode before setting up
2022-04-25 12:23:59 -05:00
Chris Roberts
d501d77005
Add accessors to get to cli components
2022-04-25 12:23:59 -05:00
Chris Roberts
074478c876
Include server address within environment for proper mapping
2022-04-25 12:23:59 -05:00
Chris Roberts
d9893c1a13
Return immediately on error to prevent inspecting nil result
2022-04-25 12:23:59 -05:00
Chris Roberts
bba557c29d
Close the client to shutdown the plugin and prevent hang.
...
This also updates the Ruby runtime usage to pass the ClientProtocol
instead of the full client since after init we only need it for
dispensing plugins.
2022-04-25 12:23:59 -05:00
Chris Roberts
b601872287
Update protos
2022-04-25 12:23:59 -05:00
Chris Roberts
62ca9faa43
Use connection ID from broker for terminal UI setup
2022-04-25 12:23:59 -05:00
Chris Roberts
e64f07b109
Include the broker streamer service to handled services
2022-04-25 12:23:58 -05:00
Chris Roberts
63f0b61ed6
Add simple broker implementation for use within Ruby runtime
2022-04-25 12:23:58 -05:00
Chris Roberts
db61d10bbe
Add generate directive for GRPC broker proto
2022-04-25 12:23:58 -05:00
Chris Roberts
cffd771288
Move Vagrant runtime out of server and into runner (via client startup)
2022-04-25 12:23:58 -05:00
sophia
edcb9e08bd
Get help and flags for subcommands
2022-04-25 12:23:58 -05:00
sophia
7472c2324b
Refactor
2022-04-25 12:23:58 -05:00
sophia
88527f1dce
Get help for command at any nesting
2022-04-25 12:23:58 -05:00
sophia
633528318d
Get help from ui output
2022-04-25 12:23:58 -05:00
sophia
0c1e44f553
Get help from commands that have subcommands
2022-04-25 12:23:58 -05:00
Chris Roberts
4343264054
Define all go generate directives at the repo root
2022-04-25 12:23:58 -05:00
Chris Roberts
26ac4065d2
Remove go generate directives from the server.go file
2022-04-25 12:23:58 -05:00
Chris Roberts
057b10709e
Add submodule for common protos
2022-04-25 12:23:57 -05:00
Chris Roberts
4f905203ed
Remove vendor from ignore list
2022-04-25 12:23:57 -05:00
Chris Roberts
155d9a4dc6
Remove submodule file
2022-04-25 12:23:57 -05:00