75 lines
3.2 KiB
Markdown
75 lines
3.2 KiB
Markdown
|
# 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
|
||
|
tpl | -T : Create your template
|
||
|
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
|
||
|
|
||
|
setdir | -D : Show current directory DOMAIN or set it
|
||
|
|
||
|
log | -L (OPTS) : Show logs from all sessions
|
||
|
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
|
||
|
|
||
|
db (FILE) : Show DB statuses from (FILE)
|
||
|
|
||
|
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)
|
||
|
|
||
|
|
||
|
check | -C (OPTIONS) : Check Post(s) errors from PWD folder
|
||
|
-N : Check only articles not in DB
|
||
|
-F : Force Check again ; Recreate in Database
|
||
|
(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"
|
||
|
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)
|
||
|
|
||
|
wip : Same as www for wip
|
||
|
|
||
|
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)
|
||
|
|
||
|
-v : Show local versionn
|
||
|
--version : Like -v + changes
|
||
|
-vv : Shown local and repo Versions
|