0xGA: Check-in [752c1a57aa]

Yet another PHP framework, but made for org-mode and geeks.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Create real man page for narv
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:752c1a57aac9b4da0859e08e56eac9b093b203c4
User & Date: milouse 2014-04-10 19:47:17
Context
2014-04-30
23:27
Last commit on the php branch. Please now follow the python one, which will be much simpler. This commit BREAK the code. Do NOT use it in prod or you might risk severe damages. See you on the other branch Leaf check-in: 9b680fe510 user: milouse tags: trunk
2014-04-10
19:47
Create real man page for narv check-in: 752c1a57aa user: milouse tags: trunk
2014-04-02
22:03
Fix two little bugs check-in: e7feaee5b5 user: milouse tags: trunk
Changes

Changes to usr/bin/narv.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash

VERSION=0.2

function usage_help {
    echo -e "\t\t\t\033[1mNarv - 0xGA toolkit v$VERSION\033[0m"
    echo ""
    echo -e "\033[1mSYNOPSIS\033[0m
    narv [COMMAND [OPTIONS]]
    narv [FILE]

\033[1mCOMMANDS\033[0m
    \033[1m-h
    --help\033[0m
        The -h option displays this help page and exits.
    \033[1m-v
    --version\033[0m
        The -v option displays the version of this script and exits.
    \033[1minstall\033[0m
        Install a new 0xGA instance. The options -f and -d could apply.
    \033[1mupdate\033[0m
        Update a 0xGA installation. The options -n, -f and -d could apply.

\033[1mOPTIONS\033[0m
    \033[1m-n
    --nopull\033[0m
        Only works with the update or deploy command. Let you specify that no pull is request before updating the fossil working copy.
    \033[1m-d
    --dest\033[0m
        Only works with the update/deploy, install/init or create command. Let you specify the destination directory for your 0xGA installation.
    \033[1m-f
    --fossil\033[0m
        Only works with the update/deploy or install/init command. Let you specify where to place the .fossil repository. --dest and --fossil MUST BE two different place!
    \033[1m-H
    --host\033[0m
        Hostname of your future or current installation. Usefull for
        install or streamindex command. Leading / is REQUIRED.

\033[1mEXIT STATUS\033[0m
    The script will exit with an error if no argument is given.

\033[1mAUTHORS\033[0m
    √Čtienne Deparis <etienne@depar.is>"

}

function cleanup_installation {
    echo ":: cleaning up installation files"
    rm -rf .fossil-settings
    rm -rf test
    rm etc/systemd/system/multi-user.target.wants/sample.service





|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







1
2
3
4
5
6






































7
8
9
10
11
12
13
#!/usr/bin/env bash

VERSION=0.2

function usage_help {
    nroff -man `dirname $0`/../share/man/man1/narv.1 | less






































}

function cleanup_installation {
    echo ":: cleaning up installation files"
    rm -rf .fossil-settings
    rm -rf test
    rm etc/systemd/system/multi-user.target.wants/sample.service

Added usr/share/man/man1/narv.1.







































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.TH Narv 1 "2014 April 10" "Narv 0.1" "0xGA Project"
.
.
.SH NAME
Narv
.
.
.SH SYNOPSIS
.B narv
[
.I COMMAND
[
.I OPTIONS
]]
.
.B narv
[
.I FILE
]
.
.
.SH DESCRIPTION
.P
Main command-line utility for 
.I 0xGA 
framework.
.
.
.SH COMMANDS
.RS
.TP 8
.B \-\-help\fR,\fP \-h
The 
.I \-h 
option displays this help page and exits.
.TP
.B \-\-version\fR,\fP \-v
The 
.I \-v 
option displays the version of this script and exits.
.TP
.B install
Install a new 
.I 0xGA 
instance. The options 
.I \-f 
and 
.I \-d 
could apply.
.TP
.B update
Update a 
.I 0xGA 
installation. The options 
.IR  -n , 
.I -f 
and 
.I -d 
could apply.
.RE
.
.
.SH OPTIONS
.RS
.TP 8
.B \-\-nopull\fR,\fP \-n
Only works with the update or deploy command. Let you specify that no
pull is request before updating the fossil working copy.
.TP
.B \-\-dest\fR,\fP \-d
Only works with the 
.I update\fR/\fPdeploy\fR,\fP install\fR/\fPinit 
or 
.I create 
command. Let you specify the destination directory for your 
.I 0xGA 
installation.
.TP
.B \-\-fossil\fR,\fP \-f
Only works with the 
.I update\fR/\fPdeploy \fRor\fP install\fR/\fPinit 
command. Let you specify where to place the .fossil repository. 
.I --dest \fRand\fP --fossil
MUST BE two different place!
.TP
.B \-\-host\fR,\fP \-H
Hostname of your future or current installation. Usefull for 
.I install \fRor\fP streamindex
command. Leading / is REQUIRED.
.RE
.
.
.SH EXIT STATUS
.P
The script will exit with an error if no argument is given.
.SH AUTHOR
.P
√Čtienne Deparis <etienne@depar.is>
.