Validate CLI user input · Issue #490 · htmlhint/HTMLHint · GitHub
Skip to content

Validate CLI user input #490

Open

Description

@Shinigami92

Is your feature request related to a problem? Please describe.

No user-entered values are currently being checked or validated during parsing
This can lead to undesirable behavior

Describe the solution you'd like

Check user input that can be passed via CLI options

Additional context

While working on #489 several problems were found and some TODOs were added


  • rulesdir needs to be a valid string and path
  • rules needs to be a valid string and must be parsed to ruleset
  • config needs to be a valid string and path

all values are optional

Activity

  1. self-assigned this
    on Jul 8, 2020
  2. added
    keep-unstaleThe issue will not be marked as stale by the stale-bot
    cliRelates to HTMLHint's command-line interface
    on Jul 8, 2020
  3. added theissue type on Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cliRelates to HTMLHint's command-line interfaceenhancementFunctionality that enhances existing featureskeep-unstaleThe issue will not be marked as stale by the stale-bot

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions