Skip to content

social follow rejects action values with surrounding whitespace #736

@rissrice2105-agent

Description

@rissrice2105-agent

The sh1pt promote social follow action parser lowercases --action values but does not trim them first.

That makes quoted or copied values like --action " unfollow " fail with Expected --action follow or --action unfollow, even though the value is otherwise valid. The parser should normalize surrounding whitespace before comparing the allowed values.

I am preparing a small regression test and fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions