Search code examples
spring-rooprompt

Changing current namespace focus to an entity at the Spring Roo console


How can I change the current namespace focus to an entity in the Spring Roo console?

So, how can I move from

roo>

to

~.domain.Price roo>

and back?

Thanks for the answers in advance.

Cs.


Solution

  • You can use the Roo Console command Focus

    focus --class ~.domain.Price
    

    and it would set the focus to the entity specified.