23 lines
727 B
Go
23 lines
727 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",
|
|
Generator: spec.FileGenerator(),
|
|
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"},
|
|
},
|
|
})
|
|
}
|