public static CliDirectory from ( Identifier identifier , CliCommand ... commands ) { final Trie < CliCommand > childCommands = createChildCommands ( commands ) ; return new CliDirectory ( identifier , Tries . < CliDirectory > emptyTrie ( ) , childCommands ) ; }
Construct a CLI directory from the given parameters .