Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PSModule/GitHub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.36.13
Choose a base ref
...
head repository: PSModule/GitHub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.37.0
Choose a head ref
  • 1 commit
  • 19 files changed
  • 3 contributors

Commits on Sep 12, 2025

  1. 🚀[Feature]: Add a config for how to match argument completers (#512)

    This pull request introduces a new configurable completion mode for
    argument completers, allowing users to choose between 'StartsWith' and
    'Contains' matching for tab completion throughout the module. It also
    improves the config initialization logic to better synchronize stored
    configuration objects with the current class definition, ensuring
    obsolete properties are removed and new ones are added automatically.
    
    - Fixes #509
    
    **Configurable Completion Mode:**
    
    * Added a new `CompletionMode` property to the `GitHubConfig` class,
    allowing users to select between 'StartsWith' and 'Contains' matching
    for argument completion. This property is now included in the config
    display format.
    * Updated all argument completer scripts to use the `CompletionMode`
    from config, switching between prefix and substring matching as
    specified. This affects completers for contexts, organizations,
    environments, gitignore, licenses, permissions, and repository
    permissions.
    * Added a value completer for the `CompletionMode` property itself,
    suggesting 'StartsWith' and 'Contains' when setting the config.
    
    **Configuration Management Improvements:**
    
    * Enhanced the `Initialize-GitHubConfig` function to automatically add
    new properties and remove obsolete ones from stored configs, ensuring
    the config object stays in sync with the class definition.
    
    **Minor Usability Improvement:**
    
    * Made the `Context` parameter in `Get-GitHubContext` positional for
    easier use.
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
    Co-authored-by: Marius Storhaug <marstor@hotmail.com>
    3 people authored Sep 12, 2025
    Configuration menu
    Copy the full SHA
    0d0b600 View commit details
    Browse the repository at this point in the history
Loading