question: public static void main ( String [ ] args ) { if ( args . length < 2 ) { LOGGER . error ( "There must be at least two arguments" ) ; return ; } int lastIndex = args . length - 1 ; Path [ ] files = getFiles ( args ) ; Main main = new Main ( ) ; main . generate ( files [ lastIndex ] , Arrays . copyOf ( files , lastIndex ) ) ; }
target:  Generate Allure report data from directories with allure report results.