gsl-statique-litterateur/var/lib/gsl/help/gsl_help.md

77 lines
3.3 KiB
Markdown
Raw Permalink Normal View History

2022-06-14 18:51:19 +02:00
# GSL: Statique Littérateur
$ gsl (ARG)
readme : Show README.md instructions
help | -h (OPT) : This Help and how to
install | -i : Show process installation
authors | -a : Add/Remove authors for this DOMAIN
setdir | -d : Set a directory for article's DOMAIN
write | -w : Write a Post
param | -p : Configure some parameters
css : Show used CSS classes
tips | -t : Show tips and advises you should know
new | -N : Generic OPT to add/create
domain : Configure your DOMAIN
author : Same as gsl author edit
(TYPE) (NAME) : Create an article with (TYPE) named (NAME).gsl
2022-06-28 22:56:48 +02:00
: (TYPE) can be 'page' or 'post'
2022-06-14 18:51:19 +02:00
setdir | -D : Show current directory DOMAIN or set it
2022-06-18 18:02:14 +02:00
log | -L (OPT) : Show logs from all sessions
2022-06-14 18:51:19 +02:00
clean | -C : Logs saved to {DATE}.gsl.log and cleaned
all : clean all saved logs, keep current
-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)
author | -A : List authors from DOMAIN in PWD folder
edit : Add/Remove ! ONE author per line
edit | -E : Open in default EDITOR (FILE) or with nano
conf : Domain configuration file
author : Same as gsl author edit
domain : Domains registred database
(FILE) : (FILE) ; .gsl
2022-06-18 18:02:14 +02:00
db (FILE) : Show DB datas from (FILE)
2022-06-14 18:51:19 +02:00
sync (OPT) : Sync Templates to www and wip
wip : Only to wip server (also done with make)
www : Only to www server (also done with www)
2022-06-18 18:02:14 +02:00
check | -C (OPTI) : Check Post(s) errors from PWD folder
2022-06-14 18:51:19 +02:00
-N : Check only articles not in DB
2022-06-18 18:02:14 +02:00
-F : Force Check again ; Create Database
2022-06-14 18:51:19 +02:00
(FILE) : Only this (FILE)
make | -M (OPTIONS) : Make all HTML articles or only (FILE)
-F : Force Make again
(FILE) : Only this (FILE)
www (OPT1) (OPT2) : Add/Remove Post(s) in www server
(OPT1):
sync : Same as "sync www"
2022-06-18 18:02:14 +02:00
add : Add (OPT2) to www server
remove : remove (OPT2) from www server
2022-06-14 18:51:19 +02:00
(OPT2):
2022-06-18 18:02:14 +02:00
all : Select all post with wip statuses (FORCE !)
2022-06-14 18:51:19 +02:00
(FILE) : Select specific post (if wip status)
2022-06-18 18:02:14 +02:00
wip : Same as www for wip server
add : Same as make -F (i.e. gsl wip add all)
2022-06-14 18:51:19 +02:00
sidebar | -S : Show Posts in list (ARG) (POS) (FILE)
(ARG):
add | -a : Put article at (POS). Remove last, roll from (POS)
replace | -r : Replace (POS) with article
latest | -l : Create sidebar with latest (remove all existing)
2022-06-18 18:02:14 +02:00
oldest | -o : Same as above, but with oldest first
2022-06-14 18:51:19 +02:00
-v : Show local versionn
--version : Like -v + changes
-vv : Shown local and repo Versions