Our great sponsors
-
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.
-
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.
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.
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.
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.
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.
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.