Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: Use configuration file instead of flags and simplify app extension #44

Merged
merged 1 commit into from
Dec 8, 2015

Conversation

Quentin-M
Copy link
Contributor

Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.

Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.

@Quentin-M
Copy link
Contributor Author

+7k -4k. Enjoy..


## Command-Line examples
Copy [`config.example.yaml`](../config.example.yaml) to your choice of location, and update the values as required.
The example configuration file is commented and explains every available keys.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key

@jzelinskie
Copy link
Contributor

LGTM

…ion.

Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.

Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
Quentin-M pushed a commit that referenced this pull request Dec 8, 2015
main: Use configuration file instead of flags and simplify app extension
@Quentin-M Quentin-M merged commit 9f0ed4d into quay:master Dec 8, 2015
@Quentin-M Quentin-M deleted the configfile branch December 8, 2015 16:56
@jzelinskie jzelinskie added area/usability related to improving user experience kind/cleanup no functional changes, only reorganization reviewed/lgtm labels Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/usability related to improving user experience kind/cleanup no functional changes, only reorganization
Development

Successfully merging this pull request may close these issues.

2 participants