# agentimport: restore importer lookup helper

`3ad6b98`→[main](/content/gh/entireio/cli/commits/main/index.html)·

peyton-alt·2w ago·1 file·+10 added/-0 removed

## Sessions

ab9a991ab515View transcript

[?\
Add Trail Resume SubcommandCodex·GPT-5.5·2 steps](/content/gh/entireio/cli/session/019ef5f3-3472-7f70-82f7-6f0ce46691f4#timeline-ab9a991ab515/index.html)

## Changes

1

- cmd/entire/cli/agentimport

- Magentimport.go+10

```
80 unmodified lines

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

80 unmodified lines

return out
}

// Get returns the importer registered for name.
func Get(name string) (Importer, bool) {
	for _, imp := range importers {
		if imp.Name() == name {
			return imp, true
		}
	}
	return nil, false
}

// Options configures an import run.
type Options struct {
	RepoRoot      string
```
