mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
feat: add alias q
for template function shellQuote
(#1603)
Resolves #1601
This commit is contained in:
@@ -73,6 +73,10 @@ func init() {
|
||||
return spew.Sdump(v)
|
||||
},
|
||||
}
|
||||
|
||||
// aliases
|
||||
taskFuncs["q"] = taskFuncs["shellQuote"]
|
||||
|
||||
// Deprecated aliases for renamed functions.
|
||||
taskFuncs["FromSlash"] = taskFuncs["fromSlash"]
|
||||
taskFuncs["ToSlash"] = taskFuncs["toSlash"]
|
||||
|
Reference in New Issue
Block a user