14304 Commits

Author SHA1 Message Date
Chris Roberts
7dd331d53e
Update method name for generating a new terminal client 2022-04-25 12:24:05 -05:00
Chris Roberts
356c37fd73
Isolate utility modules. Includes broker and logging helper modules. 2022-04-25 12:24:04 -05:00
Chris Roberts
742f94c9e0
Add modules to services and update exception logger usage 2022-04-25 12:24:04 -05:00
Chris Roberts
b6a0ed111a
Expand broker functionality to include server implementation 2022-04-25 12:24:04 -05:00
sophia
f670b7ca5b
Output special character "%"
printf the special character for "things" is % + STUFF, so if you want just a % you have to use the special character % and then combine it with % to get a single %
2022-04-25 12:24:04 -05:00
sophia
1c63921a6c
Clean up ui output to remote extra spaces
Previously the clear line function would insert extra lines making
output look like

"""
==> default: Importing base box 'hashicorp/bionic64'...

Progress: 10%!(NOVERB)

Progress: 20%!(NOVERB)

Progress: 30%!(NOVERB)

Progress: 40%!(NOVERB)
"""

now, output for progress looks like

"""
==> default: Importing base box 'hashicorp/bionic64'...
Progress: 10%!(NOVERB)
Progress: 20%!(NOVERB)
Progress: 30%!(NOVERB)
Progress: 40%!(NOVERB)
"""
2022-04-25 12:24:04 -05:00
sophia
9b3d07382a
Enable multi ui to check for interactive uis 2022-04-25 12:24:04 -05:00
sophia
aff6edc31b
Add plugin command that uses interactive input 2022-04-25 12:24:04 -05:00
sophia
2dd286ef4f
Add test go command for interactive input 2022-04-25 12:24:04 -05:00
sophia
552a43744e
Enable getting user input for ruby plugins 2022-04-25 12:24:04 -05:00
sophia
bc095b06dc
Don't initialize hosts with basis 2022-04-25 12:24:04 -05:00
sophia
dfd604bd1b
Run capabilities 2022-04-25 12:24:04 -05:00
sophia
7ab060d70d
Save 2022-04-25 12:24:03 -05:00
sophia
768dcf07da
Rename to alwaystrue host 2022-04-25 12:24:03 -05:00
sophia
be08dfde85
Save point 2022-04-25 12:24:03 -05:00
sophia
5a93140ab5
Run capability funciton using argmappers 2022-04-25 12:24:03 -05:00
sophia
28dd174686
Setup builtin host plugin with capabilities 2022-04-25 12:24:03 -05:00
sophia
c6ad026070
Add sub commands 3 levels deep 2022-04-25 12:24:03 -05:00
sophia
de649b2154
Update protos 2022-04-25 12:24:03 -05:00
Chris Roberts
2f0dcda7e8
Check that the result is something that can be used as an exit code 2022-04-25 12:24:03 -05:00
Chris Roberts
c2fe40854f
Register otherplugin in builtins list 2022-04-25 12:24:03 -05:00
Chris Roberts
91c4414352
Add otherplugin builtin for non-isolated subcommand example 2022-04-25 12:24:03 -05:00
Chris Roberts
96c8e44a33
Update myplugin to proxy commands to subcommands 2022-04-25 12:24:03 -05:00
Chris Roberts
c69710329f
Update message access to use spec 2022-04-25 12:24:02 -05:00
Chris Roberts
64f4d51876
Build command information via component interface + cleanup
Uses the CommandInfoFunc via the Command component to extract
    command information from the plugin. Mapper type functions
    have been removed and extracted to isolated file. Reorganized
    the functions a bit for internal consistency
2022-04-25 12:24:02 -05:00
Chris Roberts
799c33d76b
Extract core mappers out of basis and into isolated file 2022-04-25 12:24:02 -05:00
sophia
b4f0ef56df
Remove command metadata from service info 2022-04-25 12:24:02 -05:00
sophia
0e618a4fd1
Execute command with subcommand info 2022-04-25 12:24:02 -05:00
sophia
fd29c9df7c
Clean up ruby command service 2022-04-25 12:24:02 -05:00
sophia
5dd5ec84ee
Allow ruby errors to be caught by exception logger 2022-04-25 12:24:02 -05:00
sophia
36fa931bed
AUpdate ruby protos for sdk chagnes 2022-04-25 12:24:02 -05:00
sophia
4dce4d148d
Specify which command to get command info from 2022-04-25 12:24:02 -05:00
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