class CommandLinesInterpretor {

    static void displayHelp(){
        System.out.println("ElrondApiApplication");
        System.out.println("============================================================================================");
        System.out.println(" usage:");
        System.out.println(" [no arguments] :  Starts the node in default configuration");
        System.out.println("                   access http://127.0.0.1:8080/swagger-ui.html to start the node OR");
        System.out.println("                   start the UI app");
        System.out.println(" -h --h -H --H -help -HELP --help --HELP :  Display this help message");
        System.out.println(" -config=configfile.cfg :  Loads the config file from disk and automatically starts the node");
        System.out.println(" -config=configfile.cfg -generate=nrShards;nodesInShard;autoStart:  Loads the config file from disk and generates scripts for nrShards x nodesInShardInstances");
        System.out.println();
        System.out.println("Sample of a config file:");
        System.out.println("------------------------");
        System.out.println("node_name=elrond-node-1");
        System.out.println("port=4001");
        System.out.println("master_peer_port=4000");
        System.out.println("peer_ip=127.0.0.1");
        System.out.println("node_private_key=00e073884464d8d887568d6e4e66344db01334436c817bce17653eaf3e428b6ef5");
        System.out.println("startup_type=START_FROM_SCRATCH");
        System.out.println("blockchain_path=elrond-node-1");
        System.out.println("blockchain_restore_path=elrond-node-1");
        System.out.println();
        System.out.println("Variants for above config lines:");
        System.out.println("--------------------------------");
        System.out.println("node_name=AUTO    => will generate an unique name in format elrond-node-" + UUID.randomUUID().toString());
        System.out.println("node_private_key=AUTO    => will generate an unique private key");
        System.out.println("startup_type=" + Arrays.stream(BootstrapType.values()).
                map(val -> val.toString()).
                collect(Collectors.toList()));
        System.out.println("blockchain_path=AUTO    => will get the node's name");
        System.out.println("blockchain_restore_path=AUTO    => will get the node's name");
    }

}