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

add a CLI for analyzing previous command return values #22

Open
covercash2 opened this issue Dec 11, 2024 · 0 comments
Open

add a CLI for analyzing previous command return values #22

covercash2 opened this issue Dec 11, 2024 · 0 comments

Comments

@covercash2
Copy link
Owner

maybe there's a way to analyze the return value of the previous command? it would require access to the inner workings of the shell, but it could be super useful to be able to do something like:

$ sudo nixos-rebuild ...
oops some bad things happend :(
$ djinn explain nix
Here's what you did idiot:
...

where djinn is the main CLI entrypoint, explain is the command to run, and nix is the agent that provides context for the answer.

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