Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.