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.
The
sh1pt promote social followaction parser lowercases--actionvalues but does not trim them first.That makes quoted or copied values like
--action " unfollow "fail withExpected --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.