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

29 lines
1.3 KiB
Go

package view
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "idea",
Description: "IntelliJ IDEA CLI",
Subcommands: []core.Subcommand{
{Name: "diff", Description: "Open the diff viewer to see the differences between two specified files"},
{Name: "merge", Description: "Open the Merge dialog to merge the specified files"},
{Name: "format", Description: "Apply code style formatting to the specified files"},
{Name: "inspect", Description: "Perform code inspection on the specified project"},
},
Options: []core.Option{
{Name: "-h", Description: "Show help for format command"},
{Name: "-m", Description: "Process specified directories recursively"},
{Name: "-s", Description: "Specify the code style settings file to use for formatting"},
{Name: "-allowDefaults", Description: "Preserve encoding and enforce the charset for reading and writing source files"},
{Name: "-d", Description: "Run the formatter in the validation mode"},
{Name: "-changes", Description: "Run inspections only on local uncommitted changes"},
{Name: "-v", Description: "Set the verbosity level of the output"},
{Name: "--wait", Description: "Wait for the files to be closed before returning to the command prompt"},
},
})
}