Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run as TUI or CLI ? #41

Open
gedw99 opened this issue Oct 24, 2022 · 0 comments
Open

Run as TUI or CLI ? #41

gedw99 opened this issue Oct 24, 2022 · 0 comments

Comments

@gedw99
Copy link

gedw99 commented Oct 24, 2022

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 gedw99 changed the title cli or GUI ? Run as TUI or CLI ? Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant