Exemplo n.º 1
0
        private void AddTemplateToEntryPoint()
        {
            if (!ScriptInfo.IsEmpty())
            {
                var entryPointFile = Path.GetFileName(ScriptInfo.EntryPoint);

                _scriptService.AddTemplate(ProjectInfo, ScriptInfo.EntryPoint);
                ShowInlineMessage($"Init template to {entryPointFile}", 1500);
            }
            else
            {
                ShowInlineMessage("Script info is empty", 1500, TextColor.Failed);
            }
        }