SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
dukerutledge@programming.dev to Programming@programming.devEnglish · 2 years ago

Command Line Interface Guidelines

clig.dev

external-link
message-square
14
fedilink
  • cross-posted to:
  • programming@programming.dev
  • hackernews@lemmy.smeargle.fans
  • programming@programming.dev
41
external-link

Command Line Interface Guidelines

clig.dev

dukerutledge@programming.dev to Programming@programming.devEnglish · 2 years ago
message-square
14
fedilink
  • cross-posted to:
  • programming@programming.dev
  • hackernews@lemmy.smeargle.fans
  • programming@programming.dev
An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.
  • haruki@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years ago

    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
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

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

      • haruki@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 years ago

        Yes. I’m using Python Click FYI.

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

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

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



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 569 users / day
  • 1.87K users / week
  • 3.4K users / month
  • 7.46K users / 6 months
  • 311 local subscribers
  • 20.3K subscribers
  • 2.24K Posts
  • 35.2K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org