fdtools

package
v0.7.38 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Common functionality for extra Filediver tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(argp *argparse.Parser) (prt app.Printer, a *app.App)

Initializes the tool with a printer and app with game files and adds a --gamedir (-a) argument, then executes the arg parser.

This function is very impure: It will invoke the printer and may exit the entire program. This is because it is solely intended for standalone tools at the moment.

Simply shuts down the program on failure (calls os.Exit(1) via prt.Fatalf). Calls os.Exit(0) if --help (-h) is passed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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