ti-create should accept body via stdin for heredoc support #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently
ti-createtakes body as a shell argument, which means newlines must be escaped (\n) and the result is stored as literal escape sequences rather than real newlines — looks terrible in the app.Proposed fix
Allow
ti-createto read body from stdin when-is passed or when no body argument is given:The function should detect if stdin is a pipe/heredoc and read from it, otherwise fall back to the positional argument.