Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - ma2gedev/netrcex: Reads netrc files implemented in Elixir

Reads netrc files implemented in Elixir. Contribute to ma2gedev/netrcex development by creating an account on GitHub.

Visit SiteGitHub - ma2gedev/netrcex: Reads netrc files implemented in Elixir

GitHub - ma2gedev/netrcex: Reads netrc files implemented in Elixir

Reads netrc files implemented in Elixir. Contribute to ma2gedev/netrcex development by creating an account on GitHub.

Powered by 0x5a.live 💗

Netrc - Reads netrc files implemented in Elixir

hex.pm version hex.pm downloads Build Status Coverage Status

Installation

Add :netrc library to your project's dependencies in mix.exs:

defp deps do
  [
    {:netrc, "~> 0.0.1"}
  ]
end

And fetch:

$ mix deps.get

Usage

Read netrc files

Read the user's default netrc file:

iex> Netrc.read
%{"api.github.com" => %{"login" => "username", "password" => "pass"}}

Read the specific file path:

iex> Netrc.read("test/data/sample.netrc")
%{"m" => %{"login" => "l", "password" => "p"}}

License

Copyright © 2014-2015 Takayuki Matsubara, released under the MIT license.

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.