Ask HN: What do you use to make CLIs?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cobra

    A Commander for modern Go CLI interactions

  • [2]: https://cobra.dev

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • command_help

    :information_source: Extract help text from builtin commands and man pages

  • I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.

    Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...

    cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut

    simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...

  • regexp-cut

    Use awk to provide cut like syntax for field extraction

  • I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.

    Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...

    cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut

    simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...

  • matano

    Open source security data lake for threat hunting, detection & response, and cybersecurity analytics at petabyte scale on AWS

  • Oclif is pretty nice for NodeJS, we use it for https://github.com/matanolabs/matano . https://github.com/charmbracelet/bubbletea looks really beautiful, if you use Go.

  • bubbletea

    A powerful little TUI framework ๐Ÿ—

  • Oclif is pretty nice for NodeJS, we use it for https://github.com/matanolabs/matano . https://github.com/charmbracelet/bubbletea looks really beautiful, if you use Go.

  • fx

    Discontinued fx is a workspace tool manager. It allows you to create consistent, discoverable, language-neutral and developer friendly command line tools. (by jathu)

  • I made fx at Flexport, which hosted many of our CLI tools.

    I liked it a lot so I made one for myself when I left: https://github.com/jathu/fx

    fx is a workspace tool manager. It allows you to create consistent, discoverable, language-neutral and developer friendly command line tools.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • typer

    Typer, build great CLIs. Easy to code. Based on Python type hints.

  • keygen-cli

    Official command line tool for publishing releases to Keygen's distribution API.

  • I use Go and Cobra for my businessโ€™s CLI [0]. I like it. Iโ€™ve also used Thor in the past, for Ruby CLIs. And a simple option parser for node CLIs.

    [0]: https://github.com/keygen-sh/keygen-cli

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts