bash-wtf
所属分类:collect
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2022-01-25 01:47:54
上 传 者:
sh-1993
说明: 一个命令,当你不知道刚刚发生了什么,
(A command for when you have no idea wtf just happened,)
文件列表:
LICENSE.md (34523, 2022-01-24)
wtf.man (1589, 2022-01-24)
wtf.sh (4076, 2022-01-24)
# bash-wtf
A command for when you have no idea wtf just happened
## Installation
Run the following commands to install the `wtf` command on your machine:
1. `git clone https://github.com/cheesits456/bash-wtf.git`
2. `cd ./bash-wtf`
3. `sudo ./wtf.sh --install`
After the installation completes, you can safely delete the cloned repo if you wish:
4. `cd .. && rm -rf ./bash-wtf`
### Removal
If you wish to remove the `wtf` command from your system, simply execute the following in a terminal:
- `sudo wtf --uninstall`
## Usage
`wtf [options]`
#### Options:
- `-e`, `--edit`: Open your user-specific config in nano
- `-h`, `--help`: Display help message and exit
- `-i`, `--install`: Install the 'wtf' command globally
- `-r`, `--reset`: Reset your user-specific config to default
- `-u`, `--uninstall`: Remove the globally installed command
- `-V`, `--version`: Display version information and exit
## Examples
![Help Example][example-help]
![Command Example][example-cmd]
[example-help]: https://github.com/cheesits456/bash-wtf/raw/readme-images/1.1.0_example-help.png
[example-cmd]: https://github.com/cheesits456/bash-wtf/raw/readme-images/1.1.0_example-cmd.png
近期下载者:
相关文件:
收藏者: