make.command.line.call {varitas}R Documentation

Make string with command line call from its individual components

Description

Make string with command line call from its individual components

Usage

make.command.line.call(main.command, options = NULL, flags = NULL,
  option.prefix = "--", option.separator = " ", flag.prefix = "--")

Arguments

main.command

String or vector of strings giving main part of command (e.g. "python test.py" or c("python", "test.py"))

options

Named vector or list giving options

flags

Vector giving flags to include.

option.prefix

String to preface all options. Defaults to "–"

option.separator

String to separate options form their values. Defaults to a single space.

flag.prefix

String to preface all flags. Defaults to "–"

Value

command string giving command line call


[Package varitas version 0.0.2 Index]