gls icon indicating copy to clipboard operation
gls copied to clipboard

Run as TUI or CLI ?

Open gedw99 opened this issue 2 years ago • 0 comments

It would be nice if you can do everything on the CLi ( nogui mode) that you can do in the TUI mode.

For example search, navigate down a tree hierarchy.

As far as i can tel this is not possible because the raw commands are coupled to the TUI ?

Another nice pattern for the comments is that you can ask it to return the result as JSON. This allows higher level tooling to be build on top easily, because the higher level commands can parse the JSON.

SO then you can pipe things, like a Find and then a Replace. The Find cmd would return a JSON list, and then the Replace would use this JSON to do the replace

SO maybe like:

gls -noui find --jsonout hello l replace hello-world   

gedw99 avatar Oct 24 '22 10:10 gedw99

Currently facing this too.

kaysho avatar Jun 07 '22 17:06 kaysho

@Macjon @kaysho just pushed version 1.0.10, please check if it fixes the problem for you.

Flash3001 avatar Jun 07 '22 18:06 Flash3001

Would try it out.

kaysho avatar Jun 07 '22 18:06 kaysho

@kaysho I realized that 1.0.10 allowed the app to compile, but broke the library actual function. I've just sent a new update to fix it.

Flash3001 avatar Jun 07 '22 21:06 Flash3001

The update works now, using the updated version @Flash3001

kaysho avatar Jun 08 '22 05:06 kaysho

@Flash3001 it works as before. Thanks @Flash3001 for the fast fix 💪

Macjon avatar Jun 08 '22 06:06 Macjon