truecmd

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package truecmd implements the true builtin command.

true — return a successful exit status

Usage: true

Do nothing and return an exit status of 0. All arguments are ignored.

Exit codes:

0  Always succeeds.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = builtins.Command{
	Name:        "true",
	Description: "return successful exit status",
	Help: `true: true
    Return a successful result.

    Exit with a status code indicating success.`,
	MakeFlags: builtins.NoFlags(run),
}

Cmd is the true builtin command descriptor.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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