-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: improve client config cli and rearrange cmd
- Loading branch information
Showing
21 changed files
with
1,518 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package cli | ||
|
||
import ( | ||
"github.com/MakeNowJust/heredoc" | ||
"github.com/odpf/siren/pkg/errors" | ||
) | ||
|
||
var ( | ||
ErrClientConfigNotFound = errors.New(heredoc.Doc(` | ||
Siren client config not found. | ||
Run "siren config init" to initialize a new client config or | ||
Run "siren help environment" for more information. | ||
`)) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package cli | ||
|
||
import "github.com/MakeNowJust/heredoc" | ||
|
||
var envHelp = map[string]string{ | ||
"short": "List of supported environment variables", | ||
"long": heredoc.Doc(` | ||
ODPF_CONFIG_DIR: the directory where siren will store configuration files. Default: | ||
"$XDG_CONFIG_HOME/odpf" or "$HOME/.config/odpf". | ||
NO_COLOR: set to any value to avoid printing ANSI escape sequences for color output. | ||
CLICOLOR: set to "0" to disable printing ANSI colors in output. | ||
`), | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.