2022-02-13 17:58:25 +01:00
|
|
|
# GSL: Statique Littérateur
|
|
|
|
|
|
|
|
$ gsl [ARG]
|
2022-03-08 18:20:17 +01:00
|
|
|
readme : Show README.md instructions
|
|
|
|
help | -h [OPT] : This Help
|
|
|
|
install : Show process installation
|
|
|
|
new : Adding a DOMAIN
|
|
|
|
write | -w : How to write a Post
|
2022-04-23 18:05:13 +02:00
|
|
|
template | -t : Tips to create your template
|
2022-02-13 17:58:25 +01:00
|
|
|
|
2022-03-08 18:20:17 +01:00
|
|
|
new | -N : Add and configure a new DOMAIN
|
2022-02-13 17:58:25 +01:00
|
|
|
|
2022-03-08 18:20:17 +01:00
|
|
|
log | -L [OPTS] : Show logs from all sessions
|
|
|
|
clean | -C : Logs saved to {DATE}.gsl.log and cleaned
|
|
|
|
-i | -w | -e : from levels (infos, warnings, errors)
|
|
|
|
-s : from last session only
|
|
|
|
[TERM] : [TERM] : case insensitive, regex 'T1.*T2'
|
|
|
|
(i.e. $ gsl log -e -s code)
|
2022-02-13 17:58:25 +01:00
|
|
|
|
2022-03-08 18:20:17 +01:00
|
|
|
author | -A [OPT] : List authors from DOMAIN set in PWD folder
|
|
|
|
add : Add author(s) for DOMAIN
|
|
|
|
remove : Remove author(s) for DOMAIN
|
2022-04-23 18:05:13 +02:00
|
|
|
|
|
|
|
create [TYPE] [NAME] : Create an article with [TYPE] named [NAME].gsl
|
|
|
|
|
|
|
|
edit | -E : Open in default EDITOR [FILE] or with nano
|
|
|
|
conf : Domain configuration file
|
|
|
|
[FILE] : [FILE] (.gsl)
|
|
|
|
|
2022-03-27 18:46:48 +02:00
|
|
|
db [FILE] : Show DB statuses from [FILE]
|
|
|
|
|
|
|
|
sync [OPT] : Sync Templates to www and wip
|
2022-03-27 19:19:26 +02:00
|
|
|
wip : Only to wip server (also done with make)
|
|
|
|
www : Only to www server (also done with www)
|
2022-03-27 18:46:48 +02:00
|
|
|
|
|
|
|
|
2022-03-08 18:20:17 +01:00
|
|
|
check | -C [OPT] [FILE] : Check Posts errors from PWD folder or [FILE]
|
|
|
|
-F : Force check again
|
2022-03-06 16:28:29 +01:00
|
|
|
|
2022-03-08 18:20:17 +01:00
|
|
|
make | -M [OPT] [FILE] : Convert Posts from PWD folder or [FILE]
|
|
|
|
to HTML file in server
|
|
|
|
-F : Force Make again
|
2022-04-15 08:50:22 +02:00
|
|
|
|
2022-03-27 18:46:48 +02:00
|
|
|
www [OPT1] [OPT2] : Add/Remove Post from www server
|
|
|
|
[OPT1]:
|
|
|
|
add : Add all/[FILE] to www server
|
|
|
|
rmove : remove all/[FILE] from www server
|
|
|
|
[OPT2]:
|
|
|
|
all : Select all post with wip statuses
|
|
|
|
[FILE] : Select specific post (if wip status)
|
|
|
|
|
2022-04-15 08:50:22 +02:00
|
|
|
|
|
|
|
sidebar | -S [ARG] [FILE]: Show Posts in list
|
|
|
|
[ARG]:
|
|
|
|
add | -A : Must set a Position number before [FILE]
|
|
|
|
Max posts in list is set in gsl.conf
|
|
|
|
Replace post position if post not exists in list
|
2022-04-15 09:07:23 +02:00
|
|
|
remove | -R : No Position to set, just [FILE].
|
2022-04-15 08:50:22 +02:00
|
|
|
add/remove will build last-posts-list.html
|
|
|
|
create | -C : rebuild last-posts-list.html
|
|
|
|
|
2022-04-23 18:05:13 +02:00
|
|
|
-v : Show local versionn
|
|
|
|
--version : Like -v + changes
|
2022-03-27 18:46:48 +02:00
|
|
|
-vv : Shown local and repo Versions
|