diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-08-07 13:48:53 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-08-07 13:48:53 +0100 |
| commit | c5157ee81b64f20c12ac11b7eb79e07bd3af1469 (patch) | |
| tree | ce7e99354c2b3a33914f1ebe9da9bb77b8908888 /src/main.rs | |
| parent | bf42f2e19d8bf710d149c6c6f7301fae2310ba41 (diff) | |
✨feat: add scaffolding for the github functionality
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3eb7e95..e4bc296 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,11 @@ async fn run() -> Result<()> { file_path: PathBuf::new(), executable: args.executable.unwrap_or(args.appname.clone()), source: Source { - identifier: "raw_url".to_string(), + identifier: if args.github { + "git.github".to_string() + } else { + "raw_url".to_string() + }, meta: SourceMetadata { url: args.from }, }, }; |
