Skip to content

Instantly share code, notes, and snippets.

@dalehenrich
Last active September 22, 2015 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalehenrich/64986ba006546489b1be to your computer and use it in GitHub Desktop.
Save dalehenrich/64986ba006546489b1be to your computer and use it in GitHub Desktop.
reset SHOUT Global tode script
TDScriptLeafNode{#name:'resetSHOUTGlobals',#contents:'[ :topez :objIn :tokens :command :commandNode |
| opts args |
\"for help: ./resetSHOUTGlobals -h\"
command
getOptsMixedLongShort: {#(\'help\' $h #\'none\')}
optionsAndArguments: [ :options :operands |
opts := options.
args := operands ].
opts
at: \'help\'
ifAbsent: [ topez resetAllGlobalNames ]
ifPresent: [ :ignored |
TDManPage
viewManPage:
\'NAME
resetSHOUTGlobals - resetSHOUTGlobals sript utility template
SYNOPSIS
resetSHOUTGlobals [-h|--help]
DESCRIPTION
Force a reset the cached Global names on the client.
Use this command when new globals are added outside the scope
of the current tODE environment.
EXAMPLES
./resetSHOUTGlobals -h
./resetSHOUTGlobals
\'
topez: topez ] ] ',#creationTime:DateAndTime['2015-09-22T10:15:26.94311094284058-07:00'],#modificationTime:DateAndTime['2015-09-22T10:28:03.102013111114502-07:00']}
~ ~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"tode/sys/stones/m_330/home/resetSHOUTGlobals.ston" [noeol] 29L, 976C 1,1 All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment