Mix.NervesHubCLI.Utils.split_tag_string

You're seeing just the function split_tag_string, go back to Mix.NervesHubCLI.Utils module for more information.

Specs

split_tag_string(String.t()) :: [String.t()]

Split up a string of comma-separated tags

Invalid tags raise.

iex> Mix.NervesHubCLI.Utils.split_tag_string("a, b, c") ["a", "b", "c"]

iex> Mix.NervesHubCLI.Utils.split_tag_string("a space tag, b, c") ** (RuntimeError) Tag 'a space tag' should not contain white space

iex> Mix.NervesHubCLI.Utils.split_tag_string("\"tag_in_quotes\"") ** (RuntimeError) Tag '"tag_in_quotes"' should not contain quotes