Mix.NervesHubCLI.Shell (nerves_hub_cli v0.11.1) View Source

Link to this section Summary

Link to this section Functions

Specs

do_render_error(any()) :: :ok

Specs

error(IO.ANSI.ansidata()) :: :ok

Specs

info(IO.ANSI.ansidata()) :: :ok

Specs

password_get(String.t()) :: String.t()

Specs

prompt(String.t()) :: String.t()

Specs

raise(String.t()) :: no_return()
Link to this function

render_error(errors, halt? \\ true)

View Source

Specs

render_error([{:error, any()}] | {:error, any()}, boolean() | nil) ::
  :ok | no_return()
Link to this function

request_auth(prompt \\ "Local NervesHub user password:")

View Source

Specs

request_auth(String.t()) :: NervesHubUserAPI.Auth.t()
Link to this function

request_keys(org, name, prompt)

View Source
Link to this function

request_password(prompt, count)

View Source

Specs

yes?(String.t()) :: boolean()