R6 Class to prepare command parameters
R6 Class to prepare command parameters
new()Create a new Command object.
Command$new(..., .subcmd = NULL)...Additional argument passed into command.
.subcmdSub-command string.
evaluate()Evaluate the parameters to execute command.
Command$evaluate()The object itself.
build()Build parameters to run command.
Command$build(help = FALSE, verbose = TRUE, envir = caller_env())helpA boolean value indicating whether to build parameters for help document or not.
verboseA boolean value indicating whether the command execution should be verbose.
envirAn environment used to Execute command.
An atomic character combine the command and parameters.
indentA single integer number giving the space of indent.
The object itself.
clone()The objects of this class are cloneable with this method.
Command$clone(deep = FALSE)deepWhether to make a deep clone.