Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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
  • coral

    Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies (by muesli)

  • koanf

    Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

  • Came across this the other day https://github.com/knadh/koanf as an alternative to Viper.

  • 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
  • kong

    Kong is a command-line parser for Go (by alecthomas)

  • We switched all our cli tools from cobra/viper to kong. I can highly recommend it. Almost no deps and easy to use, a great replacement for cobra in my opinion.

  • kongplete

  • AFAIK there is currently no support for this out of the box. However, you could try out kongplete. I didn't have time to try it for one of my projects but it looks promising.

  • cobra

    A Commander for modern Go CLI interactions

  • I love Cobra and I love Viper. They are great projects, incredibly useful and outstandingly important for the Go community. But sometimes, just sometimes, don't you wish you could use Cobra without the entire dependency chain Viper drags in?

  • kubernetes

    Production-Grade Container Scheduling and Management

  • Cobra is used in many Go projects such as Kubernetes, Hugo, and Github CLI to name a few. [This list](./projects_using_cobra.md) contains a more extensive list of projects using Cobra.

  • viper

    Go configuration with fangs

  • I love Cobra and I love Viper. They are great projects, incredibly useful and outstandingly important for the Go community. But sometimes, just sometimes, don't you wish you could use Cobra without the entire dependency chain Viper drags in?

  • SaaSHub

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

    SaaSHub logo
  • Hugo

    The world’s fastest framework for building websites.

  • Cobra is used in many Go projects such as Kubernetes, Hugo, and Github CLI to name a few. [This list](./projects_using_cobra.md) contains a more extensive list of projects using Cobra.

  • cli

    GitHub’s official command line tool

  • Cobra is used in many Go projects such as Kubernetes, Hugo, and Github CLI to name a few. [This list](./projects_using_cobra.md) contains a more extensive list of projects using Cobra.

  • pflag

    Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

  • Flag functionality is provided by the pflag library, a fork of the flag standard library which maintains the same interface while adding POSIX compliance.

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

  • Golang equivalent of Python’s click (CLT framework)

    7 projects | /r/golang | 20 Oct 2022
  • What 3rd-party libraries do you use often/all the time?

    7 projects | /r/golang | 1 Dec 2023
  • climate "CLI Mate": a CLI library that autogenerates CLIs from structs / functions with support for nested subcommands, global / local flags, help generation from godocs, typo suggestions, shell completion and more

    7 projects | /r/golang | 7 Jul 2023
  • Which packages do you recommend for building cli tools?

    10 projects | /r/golang | 17 Apr 2023
  • K3S Binary, How does that work?

    5 projects | /r/golang | 11 Apr 2023