Module urbit_http_api::local_config [−][src]
Functions
Attempts to create a new ship_config.yaml
with the barebones yaml inside.
Returns None
if file already exists.
A function for CLI apps which first attempts to create a new local ship config file if one does not exist and exits with a helpful message. If a config does exist, then it tries to connect to the Urbit Ship specified in the config. If connection fails then prints a message telling the user to check their local config.
Opens the yaml file specified by path_to_file
and uses the
data inside to create a ShipInterface
Opens a local ship_config.yaml
file and uses the
data inside to create a ShipInterface