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

Programming

17028 readers
286 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 [email protected]



founded 1 year ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] h_a_r_u_k_i 6 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.

[–] [email protected] 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 4 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.

[–] [email protected] 5 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.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 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.

[–] [email protected] 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?

[–] sisyphean 4 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 3 points 1 year ago

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

load more comments
view more: next ›