FileOps.InsertAtLine¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | String |
||
Output ➡️ |
The resulting output of the shard | String |
||
Path |
No | File path | none |
StringVar(String) |
LineNumber |
No | Line number to insert after (0 = very beginning before line 1, N = after line N). Use file's line count to append at end. | none |
IntVar(Int) |
WorkDir |
No | Working directory for resolving relative paths | none |
NoneStringVar(String) |
EnableGitCommit |
No | Auto-commit to git if in repository | false |
BoolVar(Bool) |
Insert text at a specific line number in file