apple / apple/swift-container-plugin

`containertool` should read settings from a configuration file

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
good first issue kind/enhancement semver/minor
Dominant language
Swift
Stars
390
Forks
26
Avg merge
8m
Merged PRs (30d)
1

Description

`containertool` has several required and optional arguments: `--repository` is required; other flags such as `--from` are optional. Some of these can be set by environment variables.

It should be possible to set default options for these flags in a configuration file in the project directory. Corresponding environment variables and command line flags should override the values in the configuration file.

Contributor guide

Open the contributing guide

Research direction

Start by locating containertool's argument parsing and the existing environment-variable handling. Determine how a project-directory configuration file should represent required and optional flags, then verify that command-line arguments and corresponding environment variables override file values. Done means defaults can be loaded from the file while preserving the documented precedence.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.