netrc

command module
v0.0.0-...-9a3ec56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2015 License: MIT Imports: 6 Imported by: 0

README

netrc

A simple command line tool for managing your netrc file.

Install

$ go get github.com/naaman/netrc

Usage

List netrc entries:

$ netrc
api.heroku.com
github.com

Show logins:

$ netrc -l
api.heroku.com user@heroku.com
github.com user@github.com

Show passwords:

$ netrc -p
api.heroku.com 1234...
github.com 1234...

Show a password for a machine entry:

$ netrc -p -n api.heroku.com
1234...
Experimental Completion

"It works on my machine"

Bash

source etc/netrc_bash_autocomplete	

ZSH

source etc/netrc_zsh_autocomplete

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/go-netrc/netrc
Package netrc implements a parser for netrc file format.
Package netrc implements a parser for netrc file format.
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL