git-bug icon indicating copy to clipboard operation
git-bug copied to clipboard

feat: termui push/pull bridge

Open kown7 opened this issue 6 years ago • 11 comments

It should be possible to push/pull the configured bridges from the termui interface. Or at least Ctrl-Z to background the termui.

It's the two things I use in my workflow: web and termui.

kown7 avatar Nov 17 '19 17:11 kown7

I would like to start working on this. Any tips on how to proceed with this?

kumaran-14 avatar Nov 26 '19 14:11 kumaran-14

Hey, thanks for looking into that. Here is the rundown (once #263 is merged):

  • in the termui, look at how the normal push/pull is done, you will have to do something quite similar
  • for now, only wire the default bridge, we will deal with multiple bridges later
  • once you have loaded the default bridge with bridge.DefaultBridge(...), you will get the ImportAll and ExportAll functions. Those functions will return you a channel of events. You'll need to filter and format those events into something that make sense for the termui. Look at the CLI commands for an example.

MichaelMure avatar Nov 26 '19 20:11 MichaelMure

Thanks for the heads up. I'm trying the load the default bridge as you said.

kumaran-14 avatar Nov 28 '19 16:11 kumaran-14

@kumaran-14 did you get anywhere?

bqv avatar Mar 28 '22 23:03 bqv

@bqv did you get anywhere? considering you never got a reply

hchev001 avatar Jan 08 '23 05:01 hchev001

nope

bqv avatar Jan 08 '23 15:01 bqv