// from command-line ./node --name=test -a -b -p=test assert(server.args == ["-a", "-b"]); // from sel manager sel start test --name=test -a --loop -b assert(server.args == ["-a", "-b"]);
Custom arguments can be used by plugins to load optional settings.
@start load() { if(!server.args.canFind("--disable-example")) { this.loadImpl(); } }
Gets the arguments the server has been launched with, excluding the ones used by sel or the manager.