Initial git-clone Paseo plugin (refactored from gitea-clone)
This commit is contained in:
commit
2fa79ffc69
14 files changed
+5229
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import type { PluginServerContext } from "@getpaseo/plugin/server";
|
||||
import { cloneRepository, getStatus } from "./server/git-clone";
|
||||
import { gitCloneRepoRpc, gitCloneStatusRpc } from "./shared/git-clone";
|
||||
|
||||
export default function contribute(server: PluginServerContext) {
|
||||
server.handle(gitCloneStatusRpc, getStatus);
|
||||
server.handle(gitCloneRepoRpc, cloneRepository);
|
||||
return () => {};
|
||||
}
|
||||
Reference in new issue
Block a user