UNPKG

africa

Version:

A library to interactively create and read configuration files.

15 lines 549 B
<types ns="_africa"> <method name="africa" async return="!Object"> <arg string name="packageName"> The name of the package. </arg> <arg opt type="!_reloquent.Questions" name="questions"> An object with questions to ask when config wasn't found. </arg> <arg type="!_africa.Config" name="config" opt> Configuration object. </arg> Read package configuration from the home directory, or ask questions with readline interface to create a new configuration in `~/.${packageName}rc`. </method> </types>