Skip to content

Use GLS commands as typed references instead of string literals #5

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Instead of returning strings directly, return objects describing GLS commands and their arguments. At least two big benefits:

  • Better typing with and strength against GLS refactors
  • Auto-managed contexts using GLS' indentation settings (would have to hook into the GLS parser)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions