Files
iris-context/commands/sys/pry.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

31 lines
1.3 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pry",
Description: "Interactive Ruby",
Options: []core.Option{
{Name: "-e", Description: "A line of code to execute in context before the session starts"},
{Name: "--no-pager", Description: "Disable pager for long output"},
{Name: "--no-history", Description: "Disable history loading"},
{Name: "--no-color", Description: "Disable syntax highlighting for session"},
{Name: "-f", Description: "Suppress loading of pryrc"},
{Name: "-s", Description: "Only load specified plugin (and no others)"},
{Name: "-d", Description: "Disable a specific plugin"},
{Name: "--no-plugins", Description: "Suppress loading of plugins"},
{Name: "--plugins", Description: "List installed plugins"},
{Name: "--simple-prompt", Description: "Enable simple prompt mode"},
{Name: "--noprompt", Description: "No prompt mode"},
{Name: "-r", Description: "`require` a Ruby script at startup"},
{Name: "-I", Description: "Add a path to the $LOAD_PATH"},
{Name: "--gem", Description: "Shorthand for -I./lib -rgemname"},
{Name: "-v", Description: "Display the Pry version"},
{Name: "-c", Description: "Display this help message"},
},
})
}