cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package cli provides the command-line interface for render.

Package cli provides the command-line interface for render.

Package cli provides the command-line interface for render.

Index

Constants

View Source
const (
	// ExitSuccess indicates the command completed successfully.
	ExitSuccess = 0

	// ExitRuntimeError indicates a runtime error during template rendering.
	ExitRuntimeError = 1

	// ExitUsageError indicates invalid command-line arguments.
	ExitUsageError = 2

	// ExitInputValidation indicates input validation failed (missing files, malformed data).
	ExitInputValidation = 3

	// ExitPermissionDenied indicates a filesystem permission error.
	ExitPermissionDenied = 4

	// ExitOutputConflict indicates output file exists and --force was not specified.
	ExitOutputConflict = 5

	// ExitSafetyViolation indicates a security issue (path traversal, symlinks).
	ExitSafetyViolation = 6
)

Exit codes for the render CLI.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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