package Foo; use Moose; use Command; command bar => sub { ... };