An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/fatih/color

Package color is an ANSI color package to output colorized or SGR defined output to the standard output. The API can be used in several way, pick one that suits you. Use simple and default helper functions with predefined foreground colors: However, there are times when custom color mixes are required. Below are some examples to create custom color objects and use the print functions of each separate color object. You can create PrintXxx functions to simplify even more: You can also FprintXxx functions to pass your own io.Writer: Or create SprintXxx functions to mix strings with other non-colorized strings: Windows support is enabled by default. All Print functions work as intended. However, only for color.SprintXXX functions, user should use fmt.FprintXXX and set the output to color.Output: Using with existing code is possible. Just use the Set() method to set the standard output to the given parameters. That way a rewrite of an existing code is not required. There might be a case where you want to disable color output (for example to pipe the standard output of your app to somewhere else). `Color` has support to disable colors both globally and for single color definition. For example suppose you have a CLI app and a `--no-color` bool flag. You can easily disable the color output with: You can also disable the color by setting the NO_COLOR environment variable to any value. It also has support for single color definitions (local). You can disable/enable color output on the fly:
20 versions
Latest release: over 1 year ago
39,081 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/fatih/color

Dependent Repos 20

1024pix/steampipe-plugin-learningcontent
Steampipe plugin to query LCMS content

Size: 101 KB - Last synced: 6 days ago - Pushed: over 1 year ago

1024pix/steampipe-plugin-metabase
Use SQL to query databases, tables, permissions and more from Metabase

Size: 1.22 MB - Last synced: 6 days ago - Pushed: 29 days ago

E218662B/web-api-rest-en-go-lang

Last synced: about 1 year ago - Pushed: 12 months ago

E21A429P/tp_web_rest

Last synced: about 1 year ago - Pushed: 12 months ago

swh/infra/ci-cd/3rdparty/alertmanager-irc-relay

Last synced: 8 months ago - Pushed: 12 months ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 8 months ago - Pushed: 12 months ago

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.

Size: 6.2 MB - Last synced: 3 days ago - Pushed: almost 2 years ago

1024pix/steampipe-plugin-github Fork of turbot/steampipe-plugin-github
Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.

Size: 206 KB - Last synced: 6 days ago - Pushed: about 1 year ago

radiofrance/ipahealthcheck_exporter Fork of camptocamp/ipahealthcheck_exporter
Prometheus exporter for exposing ipa-healthcheck tool checks as metrics

Size: 60.5 KB - Last synced: 3 days ago - Pushed: almost 4 years ago

betagouv/grafana-scalingo Fork of Scalingo/grafana-scalingo
One click deploy for Grafana

Size: 141 MB - Last synced: 3 days ago - Pushed: almost 7 years ago

signaux-faibles/wekan-alerter
wekan-alerter

Size: 44.9 KB - Last synced: 3 days ago - Pushed: over 2 years ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droits

Size: 63.1 MB - Last synced: 3 days ago - Pushed: over 2 years ago

pass-culture/pc-monitoring 📦

Size: 176 MB - Last synced: 8 months ago - Pushed: over 3 years ago

capsule/drv

Last synced: 8 months ago - Pushed: 12 months ago

betagouv/pc-dashboard 📦

Size: 158 MB - Last synced: 3 days ago - Pushed: over 5 years ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2.99 MB - Last synced: 8 months ago - Pushed: 10 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stack

Last synced: 8 months ago

csan/csan
CSAN : A marketplace for science

Last synced: 8 months ago

impl-mentation-s105/gestion-de-particule

Last synced: 8 months ago - Pushed: 12 months ago

grossiste/pdf-worker

Last synced: 8 months ago