https://github.com/arsenlosenko/xiny
CLI tool to browse Learn X in Y Minutes https://learnxinyminutes.com/
https://github.com/arsenlosenko/xiny
bash cli
Last synced: about 2 months ago
JSON representation
CLI tool to browse Learn X in Y Minutes https://learnxinyminutes.com/
- Host: GitHub
- URL: https://github.com/arsenlosenko/xiny
- Owner: arsenlosenko
- Created: 2019-03-03T21:10:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-24T08:37:20.000Z (over 7 years ago)
- Last Synced: 2025-06-29T13:02:19.545Z (12 months ago)
- Topics: bash, cli
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## xiny - Learn X in Y Minutes CLI tool
[Learn X in Y minutes](https://learnxinyminutes.com/) is a nice resource for reference or introduction to many languages. It helps to quickly grasp syntax of language and how it behaves. Inspired by `man` utility and [cheat.sh](http://cheat.sh/) I created small bash script which fetches example code from the website right into your terminal.
### Usage
It's pretty straightforward:
```bash
# download script
curl -O https://raw.githubusercontent.com/arsenlosenko/xiny/master/xiny
# you can use plain old bash
bash xiny python
# or make this file executable:
chmod +x xiny
./xiny python
# and go even further, by creating an alias, so it could be called from anywhere easily:
alias xiny="$PWD/xiny"
# to make it usable throughout your system you can also copy executable into /usr/local/bin/ and /usr/bin/
cp xiny /usr/bin/
cp xiny /usr/local/bin/
# and use it
xiny python
```