Io

NodeDescriptionInputsOutputs
env_varReads an environment variable.name Textvalue Text
execRuns a shell command and returns its output.command Text, working_dir Text, timeout_seconds Numberstdout Text, stderr Text, exit_code Number
file_existsChecks whether a file or directory exists at the given path.path Textexists Boolean, is_file Boolean, is_dir Boolean
list_dirLists files in a directory.path Text, pattern Textfiles Json, count Number
path_joinJoins path segments into a single path.base Text, segment Textpath Text
path_parseSplits a file path into its components.path Textdirname Text, basename Text, stem Text, extension Text
read_fileReads a text file from disk.path Textcontents Text
write_fileWrites text to a file on disk.path Text, contents Textpath Text

env_var

Reads an environment variable.

Inputs:

Output: value (Text) — variable value (empty if unset)

See also: list_dir

exec

Runs a shell command and returns its output.

Inputs:

Outputs:

See also: read_file, env_var

file_exists

Checks whether a file or directory exists at the given path.

Inputs:

Outputs:

See also: read_file, list_dir

list_dir

Lists files in a directory.

Inputs:

Outputs:

See also: read_file, env_var

path_join

Joins path segments into a single path.

Inputs:

Output: path (Text) — joined path

path_parse

Splits a file path into its components.

Inputs:

Outputs:

See also: path_join, file_exists

read_file

Reads a text file from disk.

Inputs:

Output: contents (Text) — file contents as text

See also: write_file

write_file

Writes text to a file on disk.

Inputs:

Output: path (Text) — path that was written to

See also: read_file