An open API service indexing awesome lists of open source software.

https://github.com/bsm/netrcx


https://github.com/bsm/netrcx

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# netrcx

[![Build Status](https://travis-ci.org/bsm/netrcx.png?branch=master)](https://travis-ci.org/bsm/netrcx)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

A working netrc reader and parser for Ruby.

## Usage (Ruby)

```ruby
require 'netrcx'

# Read from default location
netrc = Netrcx.read

# Read the default entry (if set)
netrc.default # => #

# Find a specific entry
netrc['github.com'] # => #
```