commands

package
v0.2.33-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

commands/select.go

commands/start.go

Index

Constants

This section is empty.

Variables

View Source
var (
	StartMode   bool
	StartModule string
	Port        int32
	Production  bool
	Debug       bool
)
View Source
var (
	RenderStatic bool
)
View Source
var RootCmd = &cobra.Command{
	Use:   "hyperbricks",
	Short: "Hyperbricks CLI",
	Long:  `Hyperbricks is a powerful headless cms for managing hypermedia.`,
}
View Source
var (
	Version bool = false
)

Functions

func Execute

func Execute() error

Execute runs the root command

func NewGoodbyeCommand

func NewGoodbyeCommand() *cobra.Command

NewGoodbyeCommand creates the "goodbye" subcommand

func NewHelloCommand

func NewHelloCommand() *cobra.Command

NewHelloCommand creates the "hello" subcommand

func NewInitCommand

func NewInitCommand() *cobra.Command

NewGoodbyeCommand creates the "goodbye" subcommand

func NewMakeStaticCommand

func NewMakeStaticCommand() *cobra.Command

NewHelloCommand creates the "hello" subcommand

func NewSelectCommand

func NewSelectCommand() *cobra.Command

NewSelectCommand creates the "select" subcommand

func NewStartCommand

func NewStartCommand() *cobra.Command

NewStartCommand creates the "start" subcommand

func RegisterSubcommands

func RegisterSubcommands()

RegisterSubcommands adds all subcommands to the root command

func VersionCommand

func VersionCommand() *cobra.Command

Types

type Config

type Config struct {
	Port int32 `json:"port"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL