Ask HN: What libraries does go have for building interactive shells?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • cobra

    A Commander for modern Go CLI interactions

  • I want to build a command line tool with context-sensitive completion. This is important because it allows interactive exploration of the options -- both of the application and of the current data model -- available to the user.

    So far this is what I've found.

    https://github.com/desertbit/grumble

    https://github.com/spf13/cobra

    https://github.com/urfave/cli

    https://github.com/abiosoft/ishell

    I would like to know people's experiences and recommendations in building such an app in go.

  • grumble

    A powerful modern CLI and SHELL

  • I want to build a command line tool with context-sensitive completion. This is important because it allows interactive exploration of the options -- both of the application and of the current data model -- available to the user.

    So far this is what I've found.

    https://github.com/desertbit/grumble

    https://github.com/spf13/cobra

    https://github.com/urfave/cli

    https://github.com/abiosoft/ishell

    I would like to know people's experiences and recommendations in building such an app in go.

  • 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
  • urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

  • I want to build a command line tool with context-sensitive completion. This is important because it allows interactive exploration of the options -- both of the application and of the current data model -- available to the user.

    So far this is what I've found.

    https://github.com/desertbit/grumble

    https://github.com/spf13/cobra

    https://github.com/urfave/cli

    https://github.com/abiosoft/ishell

    I would like to know people's experiences and recommendations in building such an app in go.

  • ishell

    Library for creating interactive cli applications.

  • I want to build a command line tool with context-sensitive completion. This is important because it allows interactive exploration of the options -- both of the application and of the current data model -- available to the user.

    So far this is what I've found.

    https://github.com/desertbit/grumble

    https://github.com/spf13/cobra

    https://github.com/urfave/cli

    https://github.com/abiosoft/ishell

    I would like to know people's experiences and recommendations in building such an app in go.

  • readline

    Readline is a pure go(golang) implementation for GNU-Readline kind library

  • Do you want to build an interactive shell or a cli tool? For a custom shell I have used https://github.com/chzyer/readline before, but I did not work on it a lot.

    I also wanted custom completions based on context and this readline implementation was decent for that.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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

  • Which packages do you recommend for building cli tools?

    10 projects | /r/golang | 17 Apr 2023
  • Show HN: New set of Go libraries for CLI Development

    5 projects | news.ycombinator.com | 11 Jan 2023
  • Libraries for CLI and console applications

    6 projects | /r/golang | 7 Jan 2023
  • Requesting guidance

    11 projects | /r/golang | 30 Sep 2021
  • The power of the CLI with Golang and Cobra CLI

    9 projects | dev.to | 6 Apr 2024