Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swashcap/refurb-apple-display-cli
CLI tool for checking if Apple has refurb displays available.
https://github.com/swashcap/refurb-apple-display-cli
Last synced: 5 days ago
JSON representation
CLI tool for checking if Apple has refurb displays available.
- Host: GitHub
- URL: https://github.com/swashcap/refurb-apple-display-cli
- Owner: swashcap
- Created: 2015-07-20T04:30:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-20T18:57:39.000Z (over 9 years ago)
- Last Synced: 2023-04-01T03:29:02.046Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Refurb Apple Display CLI
_CLI tool for checking if Apple has refurb displays available._
Inspired by [Potch’s 2015 Cascadia talk](http://2015.cascadiajs.com/assets/transcripts/03-08-potch.txt) on making command line tools for learning/fun, I made this little utility. It checks Apple’s [refurb store page](http://www.apple.com/shop/browse/home/specialdeals/mac) to see if Cinema displays are available for purchase.
**Disclaimer: this project is a personal exploration of writing a CLI tool using Node.js. It is not intended for public use.**
## Installation
I’m not publishing this package to NPM because it doesn’t serve much purpose. If you want to use it:
1. Make sure you have Node.js installed
2. Download or `git clone` this repo to your machine
3. Run `npm install` in the directory ot install dependencies
4. Run `npm link` in the directory to make the tool available globally## Use
Run `refurb-display` in a terminal. You’ll should see:
![Sample CLI output](./sample-output.jpg)
## Helpful Links:
* [Potch on Twitter](https://twitter.com/potch)
* [flight-status](https://github.com/potch/flight-status), Potch’s example CLI tool
* [“Writing a Command Line Node Tool” on JavaScript Playground](http://javascriptplayground.com/blog/2012/08/writing-a-command-line-node-tool/)