Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salpagarov/hugh
Hugo semantic helper
https://github.com/salpagarov/hugh
helper hugo json
Last synced: about 2 hours ago
JSON representation
Hugo semantic helper
- Host: GitHub
- URL: https://github.com/salpagarov/hugh
- Owner: salpagarov
- Created: 2024-06-30T10:06:45.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T16:10:57.000Z (14 days ago)
- Last Synced: 2024-10-23T22:06:09.011Z (13 days ago)
- Topics: helper, hugo, json
- Language: Lua
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hugh v0.1
~~~
Usage:
hugh [ ['' ['']]]
Commands:
help this text
core get taxonomies
list get posts list
add enrich metadata
del enlean metadata
update update taxonomy
Example:
hugh add '{"categories" : "video"}' '{"tags" : "video"}'
hugh del '{"categories" : "video"}' '{"categories" : "video"}'
hugh update '{"authors" : ""}' '{"authors" : "persons"}'
Requirments:
luafilesystem, rxi-json
~~~## Notes
1. Arguments `filter` and `update` must be valid JSON. Use double quotes for keys and values, and single - for entire JSON string.
2. Empty values in `filter` used as wildcard (any value), empty values in `update` ignored.