https://github.com/icco/new_job
A little script to generate a list of all projects I've worked on.
https://github.com/icco/new_job
Last synced: 22 days ago
JSON representation
A little script to generate a list of all projects I've worked on.
- Host: GitHub
- URL: https://github.com/icco/new_job
- Owner: icco
- Created: 2011-07-02T23:46:21.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2021-07-08T04:25:55.000Z (almost 4 years ago)
- Last Synced: 2025-02-10T14:22:50.857Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# New Job
You got a new job, and have to list all of your prior work in an easy to print format? This outputs some nice plain text for you.
## Setup / installation
* `gem install bundler`
* `bundle install`
* `bundle exec ./projects.rb -t $GITHUB_TOKEN -d list`## Usage
```
Usage: projects.rb [options]
-d, --display {table,list} Define display type. Default: table
-s, --sort {alpha,date} Define sort type. Default: alpha
-t, --token <40 char auth token> User's auth token.
-n, --[no-]netrc Use netrc.
-h, --help Display this screen
```## Authentication
* You can [use a .netrc to set your username and password for your github account](https://gist.github.com/technoweenie/1072829). Does not work if you have two factor auth enabled. If you do, use the flag `-n`.
* Or get an personal authentication code from https://github.com/settings/applications and use the flag `-t`.