Skip to content

feat: add --configFile option to specify custom config filename#201

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-issue-200
Draft

feat: add --configFile option to specify custom config filename#201
Copilot wants to merge 2 commits intomainfrom
copilot/fix-issue-200

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 26, 2026

The config file was always hardcoded to .versionize. Users couldn't rename it to something like versionize.json to align with other tooling conventions (e.g. dotnet-tools.json).

Changes

  • CliConfig – New --configFile <CONFIG_FILE> option
  • VersionizeOptionsProvider – Config path resolution now accounts for --configFile:
    • Absolute path → used directly, --configDir ignored
    • Relative path/filename → combined with --configDir (or working directory)
    • Not specified → falls back to .versionize (existing behavior unchanged)
  • Tests – Two new functional tests covering custom filename alone and combined with --configDir

Example

<Exec Command="dotnet versionize --configDir $(MSBuildProjectDirectory) --configFile versionize.json" />
Original prompt

Fetch github issue #200, inspect the issue and create a PR that fixes the issue.

The user has attached the following file paths as relevant context:

  • .github/copilot-instructions.md

Created from VS Code.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix issue 200 related to GitHub functionality feat: add --configFile option to specify custom config filename Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants