From 64f4411c955fc5c34b7ac46a191ad01dd2cfa69a Mon Sep 17 00:00:00 2001 From: Ashijo Date: Fri, 9 Sep 2022 14:37:53 -0700 Subject: [PATCH] quick clean --- README.md | 2 ++ ScriptCaster.app/Cast.cs | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2605c92..756d0c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ScriptCaster Take a template as a hierarchie of directories and file, update them with local and global variable and paste the result where it is usefull + +Linux only (for now) \ No newline at end of file diff --git a/ScriptCaster.app/Cast.cs b/ScriptCaster.app/Cast.cs index 26fb6cd..5cbecc5 100644 --- a/ScriptCaster.app/Cast.cs +++ b/ScriptCaster.app/Cast.cs @@ -7,15 +7,15 @@ namespace ScriptCaster.app /* Cast shall read the template, the local variable file and the global variable file variable files are json dictionarie , every occurence of the key shall be replace by the value - some default key also exist: - %DATE% : DateTime.Now - %DATEUTC% : DateTime.UtcNow - %NEWGUID% - + TODO: default key to add: + %NEWGUID% + %DATE% and co + + TODO: find a way to format dates Nice to have : - Logical variable : use reflexion to execute a C# function define in other variable script - Bash variable : set variable as the result of a bash command + Logical variable : use reflexion to execute a C# function define in other variable script + Bash variable : set variable as the result of a bash command */ public static class Cast {