Skip to content

FileOps.ViewFile

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any String
Output ➡️ The resulting output of the shard String
WorkDir No Working directory for resolving relative paths none NoneStringVar(String)
StartLine No Starting line number (1-indexed, default: 1) 1 NoneIntVar(Int)
EndLine No Ending line number (use -1 for end of file, default: -1) -1 NoneIntVar(Int)

View file contents with line numbers or list directory contents