func CompsCommand(runtime *program.SubRuntime) (retval int, err string) {
	argv := runtime.Argv

	// parse the repo uri
	uri, e := repos.NewRepoURI(argv[0])
	if e != nil {
		err = constants.StringUnparsedRepoName
		retval = constants.ErrorInvalidRepo
		return
	}

	// print each component on one line
	for _, comp := range uri.Components() {
		fmt.Println(comp)
	}

	// and finish
	return
}
// CompsCommand is the entry point for the compos command
CompsCommand is the entry point for the compos command
// CompsCommand is the entry point for the compos command
func CompsCommand(runtime *program.SubRuntime) (retval int, err string) {
	argv := runtime.Argv
	uri, e := repos.NewRepoURI(argv[0])
	if e != nil {
		err = constants.StringUnparsedRepoName
		retval = constants.ErrorInvalidRepo
		return
	}
	for _, comp := range uri.Components() {
		fmt.Println(comp)
	}
	return
}
func CompsCommand ( runtime * program . SubRuntime ) ( retval int , err string ) { argv := runtime . Argv uri , e := repos . NewRepoURI ( argv [ 0 ] ) if e != nil { err = constants . StringUnparsedRepoName retval = constants . ErrorInvalidRepo return } for _ , comp := range uri . Components ( ) { fmt . Println ( comp ) } return }
CompsCommand is the entry point for the compos command
CompsCommand is the entry point for the compos command
// parse the repo uri // print each component on one line // and finish