From b6b714e2fed7ffa58db1ee1edb38d37019dce0a7 Mon Sep 17 00:00:00 2001 From: 7h3-3mp7y-m4n Date: Sun, 3 Nov 2024 16:12:26 +0530 Subject: [PATCH 1/2] Improved the flag for OCI Signed-off-by: 7h3-3mp7y-m4n --- internal/command/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/init.go b/internal/command/init.go index 4cb45c0..8547ff5 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -172,6 +172,6 @@ func init() { "- HTTPS : https://host/file\n"+ "- Git (SSH) : git-ssh://git@host/repo.git/file\n"+ "- Git (HTTPS) : git-https://host/repo.git/file\n"+ - "- OCI : oci://[registry/][namespace/]repository[:tag|@digest]") + "- OCI : oci://[registry/][namespace/]repository[:tag|@digest][#file]") rootCmd.AddCommand(initCmd) } From 9ae755e01e6d96143c9881fadde480fbbbcc4dfe Mon Sep 17 00:00:00 2001 From: 7h3-3mp7y-m4n Date: Sun, 3 Nov 2024 16:24:12 +0530 Subject: [PATCH 2/2] Updated Readme Signed-off-by: 7h3-3mp7y-m4n --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70d5b28..22b91f4 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Flags: -f, --file string The score file to initialize (default "score.yaml") -h, --help help for init --no-sample Disable generation of the sample score file - --provisioners stringArray A provisioners file to install. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, and git-https://host/repo.git/file formats. + --provisioners stringArray A provisioners file to install. May be specified multiple times. Supports http://host/file, https://host/file, git-ssh://git@host/repo.git/file, git-https://host/repo.git/file and oci://[registry/][namespace/]repository[:tag|@digest][#file] formats. ``` ### Generate