mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-29 22:47:58 +02:00
add filetransfer plugin.
This commit is contained in:
parent
00c7e6dfb2
commit
a178bede87
6 changed files with 450 additions and 0 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/demodesk/neko/internal/config"
|
||||
"github.com/demodesk/neko/internal/plugins/filetransfer"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
)
|
||||
|
||||
|
@ -42,6 +43,9 @@ func New(config *config.Plugins) *ManagerCtx {
|
|||
manager.logger.Info().Msgf("loading finished, total %d plugins", manager.plugins.len())
|
||||
}
|
||||
|
||||
// add built-in plugins
|
||||
manager.plugins.addPlugin(filetransfer.NewPlugin())
|
||||
|
||||
return manager
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue