src.elv.shsrc.elv.sh/pkg/shell Index | Files

package shell

import "src.elv.sh/pkg/shell"

Package shell is the entry point for the terminal interface of Elvish.

Index

Types

type Program

type Program struct {
	ActivateDaemon daemondefs.ActivateFunc
	// contains filtered or unexported fields
}

Program is the shell subprogram. It has two slightly different modes of operation:

func (*Program) RegisterFlags

func (p *Program) RegisterFlags(fs *prog.FlagSet)

func (*Program) Run

func (p *Program) Run(fds [3]*os.File, args []string) error

Source Files

interact.go paths.go paths_unix.go script.go shell.go signal_unix.go

Version
v0.21.0 (latest)
Published
Aug 13, 2024
Platform
linux/amd64
Imports
31 packages
Last checked
1 day ago

Tools for package owners.