Project

netrcx

0.0
No release in over 3 years
Low commit activity in last 3 years
Simple .netrc parser
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0
 Project Readme

netrcx

Build Status License

A working netrc reader and parser for Ruby.

Usage (Ruby)

require 'netrcx'

# Read from default location
netrc = Netrcx.read

# Read the default entry (if set)
netrc.default # => #<Netrcx::Entry default=true, login="me">

# Find a specific entry
netrc['github.com'] # => #<Netrcx::Entry default=false, host=github.com, login="s3cret/t0ken">