Files
iris-context/commands/view/subl.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

26 lines
978 B
Go

package view
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "subl",
Description: "Sublime Text",
Options: []core.Option{
{Name: "--project", Description: "Load the given project"},
{Name: "--command", Description: "Run the given command"},
{Name: "-n", Description: "Open a new window"},
{Name: "-a", Description: "Add folders to the current window"},
{Name: "--launch-or-new-window", Description: "Only open a new window if the application is open"},
{Name: "-w", Description: "Wait for the files to be closed before returning"},
{Name: "-b", Description: "Don't activate the application"},
{Name: "-s", Description: "Keep the application activated after closing the file"},
{Name: "--safe-mode", Description: "Launch using a clean environment"},
{Name: "-h", Description: "Show a help message and exit"},
{Name: "-v", Description: "Show the version and exit"},
},
})
}