nerves_hub_cli v0.10.1 Mix.NervesHubCLI.Shell

Link to this section Summary

Link to this section Functions

Link to this function

do_render_error(errors)

Specs

do_render_error(any()) :: :ok

Specs

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

Specs

info(IO.ANSI.ansidata()) :: :ok
Link to this function

password_get(prompt)

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)

Specs

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

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

Specs

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

request_keys(org, name)

Link to this function

request_keys(org, name, prompt)

Link to this function

request_password(prompt, count)

Specs

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