Files
iris-context/commands/js/nuxi.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

34 lines
1.7 KiB
Go

package js
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "nuxi",
Description: "The directory of the target application",
Options: []core.Option{
{Name: "--help", Description: "Show help"},
{Name: "--verbose", Description: "Log information about the installation process"},
{Name: "--template", Description: "Specify a Git repository to use as a template"},
{Name: "--force", Description: "Force clone to any existing directory"},
{Name: "--prefer-offline", Description: "Try local cache first to download templates"},
{Name: "--shell", Description: "Open shell in cloned directory (experimental)"},
{Name: "--cwd", Description: "The current working directory of the target application"},
{Name: "--dotenv", Description: "Point to another .env file to load, relative to the root directory"},
{Name: "--prerender", Description: "Point to another .env file to load, relative to the root directory"},
{Name: "--clipboard", Description: "Copy URL to clipboard"},
{Name: "--open", Description: "Open URL in browser"},
{Name: "--no-clear", Description: "Does not clear the console after startup"},
{Name: "--port", Description: "Port to listen"},
{Name: "--host", Description: "Hostname of the server"},
{Name: "--https", Description: "Listen with https protocol with a self-signed certificate by default"},
{Name: "--ssl-cert", Description: "Specify a certificate for https"},
{Name: "--ssl-key", Description: "Specify the key for the https certificate"},
{Name: "--dev", Description: "Run tests in development mode"},
{Name: "--watch", Description: "Actively watch for changes and rerun tests"},
},
})
}