- utils.GetItemsInFolder now has just one argument for convenience
- added FilterArray which makes it more convenient to filter an array given an array and predicate(condition function)
- added methods that would cast the interface to the appropriate type
- made a slight change
- added index to element
- added FilterMapByKeys all all the respective casting fns
- added func OverwriteMap which is like js Object.assign
- added func OverwriteMap which is like js Object.assign
- replaced FilterMapByKeys with FilterMap where its predicate fn accepts key,val
- added FilterJSONByPredicate
- added WriteCustomFormattedJSONToFile to help format files
- WriteCustomFormattedJSONToFile supports bytes and interface strcutures, added UnicodeUnquote which will remove all unicode from a string when writing from bytes to a file,
- added AddContentToEachLineInFile AddContentToFile, which takes a predicate function and updates the file based on the return of the predicate fn
- added MergeDirectories fn which would merge all files and folders from target dir into source dir w/o overrting anything
- added RunCommandWithOptions fn which supports optional target dir,optional get output, and panic on error
- added TraverseDirectory with a predicate fn
- added TruncateStringByRegex fn which allows the end user to provide a regex and has a predicate fn for every match in the pattern matcher which if returns true removes the substr from the array
- additional updates
- added cli and changed name to go_cli_scripts
- updated RunCommandWithOptions to print out standard err along with the reason why the command failed
- indicated all RunCommand fns are deprecated and RunCommandWithOptions should be used instead
- added ProcessFoldersMatchingPattern just like ProcessFilesMatchingPattern
added CreateStringObject an object that will give all sorts of cases camelCase kebab snakeCase classify
- fixied CreateStringObject
added IsRunningInDocker to see whether the given go script is running in a docker container or not
- [PATCH] updated GetInputFromStdin and ShowMenu to immediately cancel when the user hits Ctrl+C
- [PATCH] build mechanism seems to unexpectedly add unwanted code this patch should fix that
- [PATCH] fixed issue with RunCommandWithOptions where output gets returned from the program and printed to console
- added Uppercase method to CreateStringObjectType