From 492cc67887855cecb3fb501c4b61af50bf645b73 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 1 Dec 2023 00:00:00 +0000 Subject: feat(helper) add capabilities cmd as specified in https://git-scm.com/docs/gitremote-helpers --- nostr_git_remote_helper/src/sub_commands/capabilities.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nostr_git_remote_helper/src/sub_commands/capabilities.rs (limited to 'nostr_git_remote_helper/src/sub_commands/capabilities.rs') 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 @@ +use anyhow::Result; + +// https://git-scm.com/docs/gitremote-helpers#_capabilities +pub async fn launch() -> Result<()> { + // blank line indicates end of capabilities + println(""); + Ok(()) +} -- cgit v1.2.3