From fdc131ff892fac6f64f7160111ab55d27be5c8e4 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Sun, 1 Oct 2023 19:31:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20equinix=20cli=20(#2009)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- providers/equinix/config/config.go | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/providers/equinix/config/config.go b/providers/equinix/config/config.go index 631e2ea24d..ed3ac2767d 100644 --- a/providers/equinix/config/config.go +++ b/providers/equinix/config/config.go @@ -15,16 +15,27 @@ var Config = plugin.Provider{ ConnectionTypes: []string{provider.ConnectionType}, Connectors: []plugin.Connector{ { - Name: "equinix", - Use: "equinix", - Short: "Equinix Metal", + Name: "equinix", + Use: "equinix [org ] [project ] [--token ]", + Short: "Equinix Metal", + Long: `equinix is designed for querying resources within a specified +project or organization on the Equinix Metal platform. + +Available Commands: + org Specifies the organization to interact with, using the organization identifier. + project Specifies the project to interact with, using the project identifier. + +If the PACKET_AUTH_TOKEN environment variable is set, the token flag is not required. +`, + MinArgs: 2, + MaxArgs: 2, Discovery: []string{}, Flags: []plugin.Flag{ { Long: "token", Type: plugin.FlagType_String, Default: "", - Desc: "Slack API token", + Desc: " Specifies the Equinix API token for authenticating the user", }, }, },