shell

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts *Options) error

Run a shell.

Types

type Options

type Options struct {
	// Path of the database directory that will be created.
	// If empty, the database will be in-memory.
	DBPath string
}

Options of the shell.

type Shell

type Shell struct {
	// contains filtered or unexported fields
}

A Shell manages a command line shell program for manipulating a Genji database.

Jump to

Keyboard shortcuts

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