mirror of
				https://github.com/go-task/task.git
				synced 2025-10-30 23:58:01 +02:00 
			
		
		
		
	chore: add changelog and documentation for #1452
This commit is contained in:
		| @@ -10,6 +10,9 @@ | ||||
|   @pd93). | ||||
| - Small change on the API when using as a library: `call.Direct` became | ||||
|   `call.Indirect` (#1459). | ||||
| - Added new template function: `spew`, which can be used to print variables for | ||||
|   debugging purposes (#1452). | ||||
|  | ||||
|  | ||||
| ## v3.33.1 - 2023-12-21 | ||||
|  | ||||
|   | ||||
| @@ -1286,6 +1286,9 @@ Task also adds the following functions: | ||||
|   for this. The Bash dialect is assumed. | ||||
| - `splitArgs`: Splits a string as if it were a command's arguments. Task uses | ||||
|   [this Go function](https://pkg.go.dev/mvdan.cc/sh/v3@v3.4.0/shell#Fields) | ||||
| - `spew`: Returns the Go representation of a specific variable. Useful for | ||||
|   debugging. Uses the [davecgh/go-spew](https://github.com/davecgh/go-spew) | ||||
|   package. | ||||
|  | ||||
| Example: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user