We're doing this to add a 'liquidity' (helicopter money) function at the moment, so this page gives a rough idea of how to extend Cclite2.
/usr/share/templates/<type>/<language-code>
. Have a look and borrow from existing templates./usr/share/cclite2/lib/Cclite2.pm
, again look at existing routes, Mojolicious documentation and borrow./usr/share/cclite2/lib/Cclite2/Cclite2.pm
, almost certainly this passes off control to, for example Ccadmin.pm
(if it's an admin function) or another module. Clearly, create a module if, as and when necessary./usr/share/Cclite2/t/
take a look at the existing tests for inspiration.If it's something really interesting or useful, contact us and we'll put it into the core code.