skUtilities icon indicating copy to clipboard operation
skUtilities copied to clipboard

Suggestion: Improve yaml implementation

Open Tuke-Nuke opened this issue 7 years ago • 1 comments

As discussed in discord about yaml support, Rezz (Idk his github) suggested to not parse a yaml file every time, since it is a bad option and makes unnecessary process. I already thought about it once. So, here is some suggestion:

#Syntax example: y[a]ml (of|from|) [file] %string%
set {_yaml} to yaml "../somefile.yml"
#Then, give support in yaml expressions using %string/yaml% in file field
set yaml value "Hey" of file {_yaml} to "Test"
#Then, to not save the file every time, it can only save if the file path was a string, and not yaml
#So it will need a proper effect to save yaml after all changes.
#Syntax example: save %yaml% at [file] %string%
save {_yaml} at file "../somefile.yml"

Tuke-Nuke avatar May 29 '17 17:05 Tuke-Nuke

Maybe we could work together on this?

tim740 avatar Aug 29 '17 14:08 tim740