Files
iris-context/commands/sys/rscript.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

28 lines
1.2 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "rscript",
Description: "Scripting Front-End for R",
Options: []core.Option{
{Name: "-e", Description: "R expression to run"},
{Name: "--help", Description: "Print usage and exit"},
{Name: "--version", Description: "Print version and exit"},
{Name: "--verbose", Description: "Print information on progress"},
{Name: "--no-echo", Description: "Run as quietly as possible"},
{Name: "--no-restore", Description: "Don't restore anything"},
{Name: "--save", Description: "Do save workspace at the end of the session"},
{Name: "--no-environ", Description: "Don't read the site and user environment files"},
{Name: "--no-site-file", Description: "Don't read the site-wide Rprofile"},
{Name: "--no-init-file", Description: "Don't read the user R profile"},
{Name: "--restore", Description: "Do restore previously saved objects at startup"},
{Name: "--vanilla", Description: "Combine --no-save, --no-restore, --no-site-file --no-init-file and --no-environ"},
{Name: "--default-packages", Description: "Comma separated list of default packages"},
},
})
}