this post was submitted on 16 Jun 2023
34 points (100.0% liked)

Programming

17398 readers
107 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] h_a_r_u_k_i@programming.dev 5 points 1 year ago (1 children)

I've been using this guide for writing a CLI tool for my company. Kudos to the authors for the amazing insights.

[–] nivenkos@lemmy.world 4 points 1 year ago (1 children)

FWIW a good library will do a lot of this for you - e.g. clap for Rust.

[–] h_a_r_u_k_i@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Yes. I'm using Python Click FYI.

I mean I've been writing a CLI tool, not a CLI engine.

[–] sisyphean@programming.dev 4 points 1 year ago* (last edited 1 year ago)

This looks like a fantastic resource, thank you for sharing it! Saved.

[–] fubo@lemmy.world 3 points 1 year ago (1 children)

If it supports -? or --help, we can figure out the rest from the copious & accessible documentation that it will give us then.

[–] lorch@sh.itjust.works 2 points 1 year ago (1 children)
[–] fubo@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

In other optimism, if I can apt-get install it, it has a manpage written by someone who's at least as entertaining a writer as Larry Wall.

[–] lorch@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

Ok now this is venturing past Optimism into Fantasy... Is there a command line genre of fantasy?

[–] cosmicrose@lemmy.world 3 points 1 year ago

This is awesome, I was looking for something like this very recently!

load more comments
view more: next ›