This commit introduces a new `collect github` command with two subcommands: - `repo`: Clones a GitHub repository. This functionality was previously under the `collect git` command. - `release`: Downloads assets from the latest GitHub release of a repository. The `release` subcommand supports the following features: - Version checking against a provided version string using the `--version` flag. - Downloading a specific file from the release using the `--file` flag. - Downloading all assets from the release and packing them into a DataNode using the `--pack` flag. - Specifying an output directory for the downloaded files using the `--output` flag. This commit also resolves a merge conflict by restructuring the `collect` command and its subcommands. The `collect git` and `collect github-release` commands have been consolidated under the new `collect github` command to provide a more organized and user-friendly command structure. |
||
|---|---|---|
| .. | ||
| all.go | ||
| collect.go | ||
| collect_github.go | ||
| collect_github_release_subcommand.go | ||
| collect_github_repo.go | ||
| collect_pwa.go | ||
| collect_website.go | ||
| root.go | ||
| serve.go | ||