Closed
Description
I'm moving commands from makefile to taskfile.
I have this command in my makefile (works):
read -p "Enter username: " username; \
sed -i 's/{username}/'$$username'/g' ./file.json;
When I run it using taskfile I get error read: invalid option "-p"
test:
desc: auth
cmds:
- |
read -p "Enter username: " username; \
sed -i 's/{username}/'$$username'/g' ./file.json;
I tried many options without success.
Is a read
available in taskfile?
I'm out of idea how to migrate this command.
Activity