Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like it and would like to see an entire Linux OS being done in a similar manner. Or shell / wrapper / whatever.

A sane homogeneous cli for once, that treats its user as a human instead of forcing them to remember the incompatible invocation options of `tar` and `dd` for absolutely no reason.

    zip my-folder into my-zip.tar with compression level 9
    write my-iso ./zip.zip onto external hard drive
    git delete commit 1a4db4c
    convert ./video.mp4 and ./audio.mp3 into ./out.mp4
    merge ./video.mp4 and ./audio.mp3 to ./out.mp4 without re-encoding
And add amazing autocomplete, while allowing as many wordings as possible. No need for LLMs.

One can dream.





> write my-iso ./zip.zip onto external hard drive

Dang! not that one, the other one!

> zip my-folder into my-zip.tar with compression level 9

What do you mean, I don't have write permissions in the current working directory? I meant for you to put the output in $HOME, i mean /tmp, i mean /var/tmp, i mean on the external hard drive, no other other one.

> git delete commit 1a4db4c

What did you do? I didn't mean delete it and erase it from the reflog and run gc! I just mean "delete it" the way any one would ever mean that! I can never get it back now!


Things that definitely need interactive prompts before running or fail out of ambiguity otherwise. Let's not pretend these are impossible problems to overcome design-wise.

I think you may enjoy [Nushell](https://www.nushell.sh)

Why not use Windows or macOS then? You don't need to use shells there.

I would prefer not to change the technical aspects of Linux. I actually cherish it.


> One can dream

That was the promise of COBOL. And SQL. And AppleScript. And ABAP. And...

It never works out the way you want it.


See my more generalized CLI helper which does exactly this:

https://github.com/dheera/scripts/blob/master/helpme

Example usage:

    helpme ffmpeg assemble all the .jpg files into an .mp4 timelapse video at 8fps
    helpme zip my-folder into my-zip.tar with compression level 9
    helpme git delete commit 1a4db4c
    ...
This originated from an ffmpeg wrapper I wrote but then realized it could be used for all commands:

https://news.ycombinator.com/item?id=40410637




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: