Software /
code /
clix
Annotate
squishy @ 173:9b36119c9900 default tip
clix.lua: There's no need to hide the config file under `$HOME/.config/`.`
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Thu, 13 Jul 2023 11:50:30 +0700 |
parent | 160:6c1953fbe0fa |
rev | line source |
---|---|
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
1 local commands = { |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
2 "send"; |
120 | 3 "sendfilecontent"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
4 "receive"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
5 "version"; |
102
16cdeb9cd879
Add clix module to send XMPP pings to JIDs
"Georg Lukas <georg@op-co.de>"
parents:
76
diff
changeset
|
6 "ping"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
7 "bounce"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
8 "mirror"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
9 "raw"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
10 "roster"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
11 "export"; |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
12 "vcard"; |
74
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
13 "publish_atom"; |
4b64a556a2cd
squishy: Add publish_atom and sendfile
Kim Alvefur <zash@zash.se>
parents:
73
diff
changeset
|
14 "sendfile"; |
76 | 15 "archive"; |
100
de5abce983d9
squish: Add presence command
Matthew Wild <mwild1@gmail.com>
parents:
76
diff
changeset
|
16 "presence"; |
139
6909e479c56b
clix.watch_pep: Subscribe to a PEP node
Kim Alvefur <zash@zash.se>
parents:
122
diff
changeset
|
17 "watch_pep"; |
157
aa0f11fb166c
clix.avatar: Publish and fetch XEP-0084 Avatars
Kim Alvefur <zash@zash.se>
parents:
139
diff
changeset
|
18 "avatar"; |
160
6c1953fbe0fa
clix.moderate: New command to do MUC moderation (XEP-0425)
Kim Alvefur <zash@zash.se>
parents:
157
diff
changeset
|
19 "moderate"; |
73
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
20 } |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
21 |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
22 for _, cmd in ipairs(commands) do |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
23 Module("clix."..cmd)("clix/"..cmd..".lua") |
1032eddcf35b
squishy: see verse commit b5fd3292bdbd
Kim Alvefur <zash@zash.se>
parents:
64
diff
changeset
|
24 end |
0 | 25 |
26
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
26 if GetOption "with-verse" then |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
27 Module("verse")(GetOption "with-verse"); |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
28 end |
028c5ffc6d7c
squish: Add --with-verse option to allow packing verse in as well
Matthew Wild <mwild1@gmail.com>
parents:
16
diff
changeset
|
29 |
0 | 30 Main "clix.lua" |
1
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
31 |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
32 Option "executable" |
58c694492459
squish: Fix name conflict with clix directory
Matthew Wild <mwild1@gmail.com>
parents:
0
diff
changeset
|
33 Output "clix.bin" |