46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
# STL: Statique Littérateur
|
|
|
|
# Arguments
|
|
help, -h : This help
|
|
readme : Show README.md
|
|
|
|
domain : Show domain used in current folder
|
|
new [OPT] : Set a new domain from current directory. OPT [DOMAIN]
|
|
edit : Edit current PWD DOMAIN configuration in nano
|
|
|
|
read
|
|
(ARTICLE) : Read (ARTICLE) in terminal
|
|
conf : Read current PWD DOMAIN configuration in terminal
|
|
|
|
edit
|
|
(ARTICLE) : Edit (ARTICLE) in nano
|
|
conf : Edit current PWD DOMAIN configuration in nano
|
|
|
|
check : (Multi-arguments)
|
|
(ARTICLE) : Check STL syntax
|
|
-F : Force check again
|
|
|
|
wip : (Multi-arguments)
|
|
(ARTICLE) : Convert (ARTICLE) to HTML in wip folder
|
|
-F : Force convert (if (ARTICLE) already exists nd up)
|
|
sidebar : (alone argument), (re)Create whole sidebar
|
|
sidebar=POS : POS is between 1 and max configured. After converted
|
|
put article in sidebar at postition POS
|
|
|
|
sidebar : (ACTION) (POSITION) (ARTICLE)
|
|
(ACTION) : No need (POSITION) nor (ARTICLE) for latest, oldest
|
|
latest : Create sidebar with latest articles (ARTICLE date)
|
|
oldest : Create sidebar with oldest articles (ARTICLE date)
|
|
add : Create sidebar, add/replace (ARTICLE) at (POSITION)
|
|
create : (alone argument), (re)Create whole sidebar
|
|
|
|
sync : Create RSS feed and sync folders from wip to www
|
|
rss : Create RSS feed in wip folder
|
|
|
|
log : (Multi-arguments)
|
|
(ARTICLE) : Show logs for (ARTICLE) || default: all
|
|
clean : Clean logs for (ARTICLE)
|
|
|
|
db
|
|
list : list all databases in a table with some article datas
|
|
(ARTICLE) : Read (ARTICLE) values in database
|