shell

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package shell quotes words for a POSIX shell. It is a leaf package shared by the provider's container scripts, cachestore's helper scripts and the CLI's copy-pasteable hints, so every quoting decision lives in one place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quote

func Quote(s string) string

Quote single-quotes s unconditionally, escaping embedded single quotes.

func Word

func Word(s string) string

Word quotes s only when it needs quoting, so plain paths and flags stay readable while anything else stays correct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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