5
jestdotty
55d

by this point I just hate rust for being inconsistent

made a cargo command with clap
it works if you run it directly but if you install it with cargo globally then evidently it's for no reason sending in an extra argument into the program which messes everything up

of course clap has no documentation about this so I jank my way to just work around the issue by parsing the arguments before I give them to clap

and on cargo -- list my command doesn't have a description even though the thing I copied has a working description in that listing, and my cargo file has a description, and clap is happily inferring my description from said cargo file

chatGPT thinks I just need the description field filled in the cargo file and it'll work. well it doesn't.

how is a language this young and this much of a mess already

why the hell did they randomly decide to pass in extra arguments? argh.

Comments
  • 0
    i feel like cargo does too much, and slowly starts running into the exact same problems, i hate npm for.
Add Comment