Hugo Shell
Using frequently-used Hugo commands by shell.
Download
Add a submodule for your Hugo blog project.
1
| git submodule add https://github.com/hugo-fixit/hugo-shell.git your_hugo_blog/.shell
|
Usage
Run hugo_main.sh to choice frequently-used Hugo commands:
1
| cd .shell && sh hugo_main.sh
|
1
2
3
4
5
6
7
8
9
10
11
| --------------Hugo Admin--------------
Please enter the serial number to work
--------------------------------------
1. post
2. server
3. server:production
4. build
5. submodule-sync
6. push
--------------------------------------
Press Ctrl+C to stop
|