options

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Args

func Args() []string

Args returns positional parameters (if any).

func Command

func Command() string

Command returns the command specified (if any).

func Interactive

func Interactive() bool

Interactive returns true if oh should run in interactive mode.

func Monitor

func Monitor() bool

Monitor returns true if job control features should be enabled.

func Parse

func Parse()

Parse parses the command line options for this invocation of oh.

func Script

func Script() string

Script returns the script name (if any).

func Terminal

func Terminal() int

Terminal returns the terminal's integer file descriptor.

func Version added in v0.8.1

func Version() bool

Version returns true if oh's version was request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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