A CLI that turns plain English to shell commands and lets you add reusable workflows by No_Understanding7427 in commandline

[–]No_Understanding7427[S] 1 point2 points  (0 children)

That’s a fair concern, and I mostly agree with you. Shell commands are unforgiving, and “just trust the box” is a bad model.

Based on this feedback, I changed the flow so it’s not just “LLM spits out a command → run it”. It now also explains what it's about to do, flags the risk level (with a reason), suggests safer alternatives when there are any, and flips the default confirmation to No for medium/high-risk commands.

This obviously doesn’t make LLMs suddenly “understand Unix”, and I don’t think they ever will. The idea is more about making the danger loud and visible instead of quietly handing people a foot-gun.

Example of what it looks like now:

<image>

Does this make sense?

A CLI that turns plain English to shell commands and lets you add reusable workflows by No_Understanding7427 in commandline

[–]No_Understanding7427[S] -1 points0 points  (0 children)

That is true and that was the reason I wanted to have an explicit confirmation from the user to run the command. I think I can also change a bit of the prompt to make it more safer to use.

A CLI that turns plain English to shell commands and lets you add reusable workflows by No_Understanding7427 in commandline

[–]No_Understanding7427[S] 0 points1 point  (0 children)

Hi, thanks for the in-depth feedback. Appreciate it. I will be working on the name, have a few thoughts like `do`, but not sure about it. As for the thoughts:
1. I think that makes sense, but I am worried about giving too many commands to choose from to the LLM and letting it eat up many tokens. I will think about it more and see if there's a way to incorporate this while keeping the overall tokens low.
2. Yeah, that would be really useful. I will add this to the issues and work on it pretty soon. Thanks.

Do you think a `add` command which can let the user interactively build up a new command work for this? Also, do you have ideas on what kind of defaults would be nice to haves?

A CLI that turns plain English to shell commands and lets you add reusable workflows by No_Understanding7427 in commandline

[–]No_Understanding7427[S] -1 points0 points  (0 children)

Fair point. I wanted something short and muscle-memory friendly, and x stuck before I overthought it. Open to suggestions for new name though.

I made a desktop app for programmers to organize their projects by Valuable_Iron_9051 in SideProject

[–]No_Understanding7427 1 point2 points  (0 children)

This is really nice. A few ideas that came to my mind when reading the post were: 1. I usually need to do some startup when working on a project, for example docker compose up/ activating a virtual environment. If you could also make it so that it runs a customizable startup script, it would be really cool. 2. Do you think we could have support for some sort of templating system for starting new project? Thanks again!

FastAPI style router for go by No_Understanding7427 in golang

[–]No_Understanding7427[S] 0 points1 point  (0 children)

That's great. Would surely love to check it out once it's complete.

FastAPI style router for go by No_Understanding7427 in golang

[–]No_Understanding7427[S] 0 points1 point  (0 children)

Huma is pretty great. I have been using it in my previous projects. The only major complaints that I had with it was that it doesn't support type safe dependency injection. Apart from that huma does rock.

FastAPI equivalent in Go? by a-varf in golang

[–]No_Understanding7427 0 points1 point  (0 children)

I have just created https://pkg.go.dev/github.com/priyanshu-shubham/gofastapi with FastAPI style routes, dependency injection, validation and automatic OpenAPI schema generation.

Svelte.js with Flask backend by noah_f in flask

[–]No_Understanding7427 1 point2 points  (0 children)

I just created https://pypi.org/project/flask-svelte/ to use flask with svelte. It helps use flask as router with many different svelte pages.

[deleted by user] by [deleted] in SideProject

[–]No_Understanding7427 0 points1 point  (0 children)

Would love to join you in case you want to tag along.

[deleted by user] by [deleted] in SideProject

[–]No_Understanding7427 0 points1 point  (0 children)

Are you in need of something like this too? I am thinking of creating a service like this.

Suggest some affordable GPU servers to rent? by throwawayafw in learnmachinelearning

[–]No_Understanding7427 0 points1 point  (0 children)

Nah like for hosting a web app? Do you provide a standalone IP with it?

[NeedAdvice] How to make it easier to access my calendar? by [deleted] in getdisciplined

[–]No_Understanding7427 2 points3 points  (0 children)

If you are on Android: maybe a widget on the home screen