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 anumeric
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()