View Source Mix.NervesHubCLI.Shell (nerves_hub_cli v2.0.1)

Summary

Functions

@spec do_render_error(any()) :: :ok
@spec error(IO.ANSI.ansidata()) :: :ok
@spec info(IO.ANSI.ansidata()) :: :ok
@spec password_get(String.t()) :: String.t()
@spec prompt(String.t()) :: String.t()
@spec raise(String.t()) :: no_return()
Link to this function

render_error(errors, halt? \\ true)

View Source
@spec render_error([{:error, any()}] | {:error, any()}, boolean() | nil) ::
  :ok | no_return()
@spec request_auth() :: NervesHubCLI.API.Auth.t() | nil
Link to this function

request_keys(org, name, prompt)

View Source
Link to this function

request_password(prompt, int)

View Source
@spec yes?(String.t()) :: boolean()