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

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

	// and get it's components
	components := r.Components()

	// and join it into a path
	location := path.Join(append([]string{root}, components...)...)
	println(location)

	return
}
// WhereCommand is the entry point for the where command
WhereCommand is the entry point for the where command
// WhereCommand is the entry point for the where command
func WhereCommand(runtime *program.SubRuntime) (retval int, err string) {
	argv := runtime.Argv
	root := runtime.Root
	r, e := repos.NewRepoURI(argv[0])
	if e != nil {
		err = constants.StringUnparsedRepoName
		retval = constants.ErrorInvalidRepo
		return
	}
	components := r.Components()
	location := path.Join(append([]string{root}, components...)...)
	println(location)
	return
}
func WhereCommand ( runtime * program . SubRuntime ) ( retval int , err string ) { argv := runtime . Argv root := runtime . Root r , e := repos . NewRepoURI ( argv [ 0 ] ) if e != nil { err = constants . StringUnparsedRepoName retval = constants . ErrorInvalidRepo return } components := r . Components ( ) location := path . Join ( append ( [ ] string { root } , components ... ) ... ) println ( location ) return }
WhereCommand is the entry point for the where command
WhereCommand is the entry point for the where command
// parse the repository in questions // and get it's components // and join it into a path