Files
iris-context/commands/ops/space.go
T
VERSE 30619a8621 docs: AI guide (#117)
- AGENTS.md
- CLAUDE.md

I think we need this because I know many or most of contributors is
using AI for contributing
This is not excessive
2026-08-04 22:34:21 +07:00

46 lines
2.1 KiB
Go

package ops
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "space",
Description: "Deta Space CLI for managing Deta Space projects",
Subcommands: []spec.Subcommand{
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
{Name: "bash", Description: "Generate the autocompletion script for bash"},
{Name: "fish", Description: "Generate the autocompletion script for fish"},
{Name: "powershell", Description: "Generate the autocompletion script for powershell"},
{Name: "zsh", Description: "Generate the autocompletion script for zsh"},
{Name: "link", Description: "Link code to project"},
{Name: "login", Description: "Login to space"},
{Name: "new", Description: "Create new project"},
{Name: "open", Description: "Open current project in browser"},
{Name: "push", Description: "Push code for project"},
{Name: "release", Description: "Create release for a project"},
{Name: "validate", Description: "Validate spacefile in dir"},
{Name: "version", Description: "Space CLI version"},
{Name: "upgrade", Description: "Upgrade Space CLI version"},
{Name: "help", Description: "Help about any command"},
},
Options: []spec.Option{
{Name: "--no-descriptions", Description: "Disable completion descriptions"},
{Name: "--dir", Description: "Src of project to link"},
{Name: "--id", Description: "Project id of project to link"},
{Name: "--blank", Description: "Create blank project"},
{Name: "--name", Description: "Project name"},
{Name: "--open", Description: "Open builder instance/project in browser after push"},
{Name: "--skip-logs", Description: "Skip following logs after push"},
{Name: "--tag", Description: "Tag to identify this push"},
{Name: "--confirm", Description: "Release latest revision"},
{Name: "--listed", Description: "Listed on discovery"},
{Name: "--notes", Description: "Release notes"},
{Name: "--rid", Description: "Revision id for release"},
{Name: "--version", Description: "Version for the release"},
{Name: "--help", Description: "Display help"},
},
})
}