NodeServer.args

Gets the arguments the server has been launched with, excluding the ones * used to edit the configuration files.

class NodeServer
shared pure nothrow @property @safe @nogc const
args
()

Examples

// from command-line
./selery --display-name=test -a -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();
   }
}

Meta