diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2023-11-01 00:00:00 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2023-11-01 00:00:00 +0000 |
| commit | 1ec8b9be91ab2d172ad97cd6f402ff23cfca30f9 (patch) | |
| tree | 954ff4e228c6d7a1b35de656888c4aa741783e07 /nostr_git_remote_helper/src/sub_commands | |
| parent | d7d5576195149203f016677c3965d90fd2428fde (diff) | |
feat(helper) add rust workspace
add nostr_git_remote_helper with standard helper packages for rust cli
Diffstat (limited to 'nostr_git_remote_helper/src/sub_commands')
| -rw-r--r-- | nostr_git_remote_helper/src/sub_commands/mod.rs | 1 | ||||
| -rw-r--r-- | nostr_git_remote_helper/src/sub_commands/placeholder.rs | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/nostr_git_remote_helper/src/sub_commands/mod.rs b/nostr_git_remote_helper/src/sub_commands/mod.rs new file mode 100644 index 0000000..b12a94a --- /dev/null +++ b/nostr_git_remote_helper/src/sub_commands/mod.rs | |||
| @@ -0,0 +1 @@ | |||
| pub mod placeholder; | |||
diff --git a/nostr_git_remote_helper/src/sub_commands/placeholder.rs b/nostr_git_remote_helper/src/sub_commands/placeholder.rs new file mode 100644 index 0000000..ebe05ff --- /dev/null +++ b/nostr_git_remote_helper/src/sub_commands/placeholder.rs | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | use anyhow::Result; | ||
| 2 | |||
| 3 | use crate::Cli; | ||
| 4 | |||
| 5 | #[derive(Debug, clap::Args)] | ||
| 6 | pub struct SubCommandArgs {} | ||
| 7 | |||
| 8 | pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | ||
| 9 | Ok(()) | ||
| 10 | } | ||