Ejemplo n.º 1
0
        public override string Execute(int consoleWidth)
        {
            string _fileName = (string)pars.GetPar("file").argValues[0];

            try
            {
                _js.SaveNode(_fileName, (int)pars.GetPar("id").argValues[0]);
                return("<color><green>Nodes saved.");
            }
            catch (Exception e)
            {
                return("<color><red>EXCEPTION: " + e.Message);
            }
        }