-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
flags:
-ignore string
comma separated list of interfaces to ignore
Is it possible to add similar:
flags:
-include string
comma separated list of interfaces to generate
-list
comma separated list of all defined interfaces
I would like to have each interface generated in a separate file, so I would call something like:
for interface in `oto -list`; do
oto -out ./generated/${interface}/${interface}.go -pkg ${interface} -include ${interface}
doneOr is there any other simple method to generate separate files?
Metadata
Metadata
Assignees
Labels
No labels