Skip to contents

Discovers files under in_dir for the given workflow and prints a summary table to stdout.

Usage

cli_nemo_list(in_dir, workflow, format = "pretty", max = NULL)

Arguments

in_dir

(character(1))
Input directory to search.

workflow

(character(1))
Workflow name (e.g. "wigits").

format

(character(1))
Output format: "pretty" or "tsv".

max

(integer(1) or NULL)
Max rows to show. NULL shows all.

Examples

path <- system.file("extdata/tool1", package = "nemo")
out_pretty <- capture.output(
  cli_nemo_list(in_dir = path, workflow = "workflow1", format = "pretty")
)
out_tsv <- capture.output(
  cli_nemo_list(in_dir = path, workflow = "workflow1", format = "tsv")
)
out_max <- capture.output(
  cli_nemo_list(in_dir = path, workflow = "workflow1", format = "pretty", max = 3)
)