https://github.com/firehed/bin
A collection of shell scripts
https://github.com/firehed/bin
Last synced: about 1 year ago
JSON representation
A collection of shell scripts
- Host: GitHub
- URL: https://github.com/firehed/bin
- Owner: Firehed
- Created: 2017-01-18T22:01:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T17:37:46.000Z (over 2 years ago)
- Last Synced: 2025-02-13T22:27:05.572Z (over 1 year ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A collection of various scripts and CLI tools made over the years.
## Installation
Put this directory anywhere in your $PATH. I use:
git clone https://github.com/Firehed/bin ~/bin
export PATH=$PATH:~/bin
Or just copy and paste the necessary scripts into your own collection
## Requirements
Most scripts require PHP 7.
## Usage
### nf
Generates a **n**ew PHP **f**ile with the namespacing, class name, and general
bolierplate auto-detected based on the directory and file name.
### git-switch
Light wrapper around `git branch` and `git checkout`, which allows you to
interactively select a branch to check out. Branches are sorted alphabetically
(with `master` always on top). Mostly saves you from typos in long branch names.