Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 593 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 593 Bytes

Hugo Shell

Using frequently-used Hugo commands by shell.

Download

Add a submodule for your Hugo blog project.

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:

cd .shell && sh hugo_main.sh
--------------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