Skip to content

Commit

Permalink
Added oci:// example with layout
Browse files Browse the repository at this point in the history
Signed-off-by: 7h3-3mp7y-m4n <[email protected]>
  • Loading branch information
7h3-3mp7y-m4n committed Oct 19, 2024
1 parent 9a0008a commit b4a3c08
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/command/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,12 @@ func init() {
initCmd.Flags().StringP(initCmdFileFlag, "f", scoreFileDefault, "The score file to initialize")
initCmd.Flags().StringP(initCmdFileProjectFlag, "p", "", "Set the name of the docker compose project (defaults to the current directory name)")
initCmd.Flags().Bool(initCmdFileNoSampleFlag, false, "Disable generation of the sample score file")
initCmd.Flags().StringArray(initCmdProvisionerFlag, nil, "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.")

initCmd.Flags().StringArray(initCmdProvisionerFlag, nil, "Provisioner files to install. May be specified multiple times. Supports:\n"+
"- HTTP: http://host/file\n"+
"- 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]")
rootCmd.AddCommand(initCmd)
}

Expand Down

0 comments on commit b4a3c08

Please sign in to comment.