Do you know how to import a macro from Github to Warp10 using WarpScript ?
[ 'https://github.com/miton18/test-ws/blob/master' ] WF.SETREPOS
WF.GETREPOS
'miton18/test-ws' 'me' IMPORT
[ NEWGTS ] @me/renameWithLabel
content of renameWithLabel.mc2
on Git:
<% DROP DUP LABELS $label GET RENAME %> LMAP
Indeed, you always need a subdirectory (as every macros repos, even the
macros
directory of your Warp 10 egress)IMPORT is usefull if the full path of your macro contains lots of subdirectories.
playable warpscript here.