Documentation
¶
Overview ¶
Common functionality for extra Filediver tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
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.
Click to show internal directories.
Click to hide internal directories.