Files
iris-context/commands/view/vimr.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

22 lines
690 B
Go

package view
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "vimr",
Description: "VimR - Neovim GUI for macOS in Swift",
Options: []spec.Option{
{Name: "-h", Description: "Show help"},
{Name: "--dry-run", Description: "Just print the 'open' command"},
{Name: "--cwd", Description: "Set the working directory"},
{Name: "--line", Description: "Go to line"},
{Name: "--wait", Description: "This command line tool will exit when the corresponding UI window is closed"},
{Name: "--nvim", Description: "Open files in tabs in a new window"},
{Name: "-s", Description: "Open files in separate windows"},
},
})
}