- 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
22 lines
690 B
Go
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"},
|
|
},
|
|
})
|
|
}
|