upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/nostr_git_remote_helper/src/sub_commands/capabilities.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2023-12-01 00:00:00 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2023-12-01 00:00:00 +0000
commit492cc67887855cecb3fb501c4b61af50bf645b73 (patch)
tree200f0941f596a8703b39384bafa0d22526459189 /nostr_git_remote_helper/src/sub_commands/capabilities.rs
parent1ec8b9be91ab2d172ad97cd6f402ff23cfca30f9 (diff)
feat(helper) add capabilities cmd
as specified in https://git-scm.com/docs/gitremote-helpers
Diffstat (limited to 'nostr_git_remote_helper/src/sub_commands/capabilities.rs')
-rw-r--r--nostr_git_remote_helper/src/sub_commands/capabilities.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/nostr_git_remote_helper/src/sub_commands/capabilities.rs b/nostr_git_remote_helper/src/sub_commands/capabilities.rs
new file mode 100644
index 0000000..325cb3b
--- /dev/null
+++ b/nostr_git_remote_helper/src/sub_commands/capabilities.rs
@@ -0,0 +1,8 @@
1use anyhow::Result;
2
3// https://git-scm.com/docs/gitremote-helpers#_capabilities
4pub async fn launch() -> Result<()> {
5 // blank line indicates end of capabilities
6 println("");
7 Ok(())
8}