Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Conversation

@antekone
Copy link

@antekone antekone commented Oct 2, 2020

The --config option takes a string argument that is a configuration file path. The syntax of the configuration is defined by the go-ini package, and it's a simple INI-like file where a sequence or key=value pairs are specified, each pair in a new line. Example of a configuration file:

username=your.username
password=your.password
url=https://confluence.yourcompany.com

Using a configuration file makes the tool more convenient to use in continuous integration systems, as well as ensures that the provided password will not be stored in any of shell's command history log files.

Command line options can still be used to override whatever is specified inside the configuration file.

Please tell me if anything is wrong with the code, this is actually my first ever PR to a project written in Go and I confess I don't know the language that well!

The --config option takes a string argument that is a configuration file
path. The syntax of the configuration is defined by the go-ini package,
and it's a simple INI-like file where a sequence or key=value pairs are
specified, each pair in a new line. Example of a configuration file:

    username=your.username
    password=your.password
    url=https://confluence.yourcompany.com

Using a configuration file makes the tool more convenient to use in
continuous integration systems, as well as ensures that the provided
password will not be stored in any of shell's command history log files.

Command line options can still be used to override whatever is specified
inside the configuration file.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant