public void registerCommands ( final List < Class < Command > > commands ) { setScope ( ConfigScope . ClasspathScan . getType ( ) ) ; for ( Class < Command > cmd : commands ) { register ( ConfigItem . Command , cmd ) ; } closeScope ( ) ; }
Register commands resolved with classpath scan .