43 lines
883 B
Lua
43 lines
883 B
Lua
local util = require('util')
|
|
|
|
app.on('scan_experience', function(exp)
|
|
--print_r(exp)
|
|
end)
|
|
|
|
app.on('scan_experience_file', function(exp)
|
|
end)
|
|
|
|
app.on('set', function(k,v)
|
|
print("content was updated")
|
|
end)
|
|
|
|
-- this registers the plugin UI
|
|
local plugin = {
|
|
name = 'Git <b class="tag">disabled</b>',
|
|
info = '',
|
|
opts = {
|
|
{
|
|
key='app.opts.plugin_git_repo_1',
|
|
title='Git repo 1 URL',
|
|
info='git repository to scan experiences',
|
|
default="https://codeberg.org/myuser/reponame",
|
|
values=''
|
|
},
|
|
{
|
|
key='app.opts.plugin_git_repo_2',
|
|
title='Git repo 2 URL',
|
|
info='git repository to scan experiences',
|
|
default="",
|
|
values=''
|
|
},
|
|
{
|
|
key='app.opts.plugin_git_repo_3',
|
|
title='Git repo 3 URL',
|
|
info='git repository to scan experiences',
|
|
default="",
|
|
values=''
|
|
}
|
|
}
|
|
}
|
|
|
|
return plugin
|