cli

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 47 Imported by: 0

Documentation

Overview

Package cli implements the portable Ridu command-line interface behind the thin cmd/ridu entry point.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, stdout, stderr io.Writer, options Options) int

Run executes one CLI invocation and returns its process exit code.

func RunFrameworkAdminDev

func RunFrameworkAdminDev(ctx context.Context, root string, stdout, stderr io.Writer) int

RunFrameworkAdminDev supervises the framework repository's deterministic browser fixture and framework-owned Vite admin. Generated applications use ridu dev instead.

Types

type Options

type Options struct {
	WorkingDirectory     string
	Version              string
	FrameworkVersion     string
	Stdin                io.Reader
	Interactive          bool
	Accessible           bool
	NewProjectResultFile string
}

Options supplies process-owned state to a CLI run.

Jump to

Keyboard shortcuts

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