kamiazya/scopes

Enhancement: Add support for alternative key-value delimiters in aspect filtering

Ouverte

#111 ouverte le 31 août 2025

 (0 commentaire) (0 réaction) (0 personne assignée)Kotlin (3 forks)auto 404
good first issuehacktoberfest

Métriques du dépôt

Stars
 (2 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Summary

Currently the --aspect option only supports colon () as the delimiter for key-value pairs. Some users might expect to use equals sign (=) as well.

Proposed Enhancement

Support both : and = delimiters for aspect filtering:

  • --aspect priority:high (current)
  • --aspect priority=high (proposed addition)

Implementation Notes

  • Update the parsing logic in ListCommand.kt to split on both delimiters
  • Ensure backwards compatibility
  • Update documentation to reflect both options

Background

This suggestion came from AI code review feedback on PR #109, specifically noting that CLI tools sometimes accept multiple delimiter formats for user convenience.

Acceptance Criteria

  • Support both :" and =` delimiters
  • Maintain backwards compatibility
  • Update help text and documentation
  • Add tests for both delimiter types

Guide contributeur