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 reddit.com/r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • coral

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

  • koanf

    Simple, 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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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