nerves_hub_cli v0.6.0 Mix.NervesHubCLI.Utils

Link to this section Summary

Link to this section Functions

Link to this function

fetch_metadata_item(metadata, key)
fetch_metadata_item(String.t(), String.t()) ::
  {:ok, String.t()} | {:error, :not_found}

Link to this function

get_metadata_item(metadata, key, default \\ nil)
get_metadata_item(String.t(), String.t(), any()) :: String.t() | nil

Link to this function

metadata(firmware)

Link to this function

show_api_endpoint()
show_api_endpoint() :: String.t()

Print the API endpoint that's being used to communicate with the NervesHub server