VintageNetWizard.run_if_unconfigured
You're seeing just the function
run_if_unconfigured
, go back to VintageNetWizard module for more information.
Specs
run_if_unconfigured([VintageNetWizard.Web.Endpoint.opt()]) :: :ok | :configured | {:error, String.t()}
Conditionally run the wizard if there is no configurations present
This function is the same VintageNetWizard.run_wizard/1
however it will
first check if there are any configurations for the interface.
This is useful if you want a device to start the wizard only if there are no
configurations for the interface. When there are configurations found for the
interface this function returns :configured
to let the consuming application
know that the wizard wasn't needed.
If you want more control on how to start the wizard or if you want to force
start the wizard you can call VintageNetWizard.run_wizard/1
.