Args

data class Args(val path: String, val startLine: Int = 0, val endLine: Int = -1) : ToolArgs(source)

Specifies which file to read and what portion of its content to extract.

Constructors

Link copied to clipboard
constructor(path: String, startLine: Int = 0, endLine: Int = -1)

Properties

Link copied to clipboard

the first line to exclude (0-based, exclusive), -1 means read to end, defaults to -1

Link copied to clipboard

absolute filesystem path to the target file

Link copied to clipboard
val startLine: Int = 0

the first line to include (0-based, inclusive), defaults to 0