variant-commands: Get API commands generated

variant-commandsR Documentation

Get API commands generated

Description

Get API commands generated

Usage

getVariantCommands(
  last = NULL,
  actions = NULL,
  opts = antaresRead::simOptions()
)

writeVariantCommands(
  path,
  last = NULL,
  actions = NULL,
  ...,
  opts = antaresRead::simOptions()
)

Arguments

last

Return the last command generated if TRUE, or a numeric for returning a specified number of commands. Default is to return all commands.

actions

A character vector of actions to return.

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath()

path

Path to the JSON file to write on disk.

...

Additional arguments passed to jsonlite::write_json()

Value

a list of commands to edit a variant


antaresEditObject documentation built on Oct. 4, 2023, 1:06 a.m.