Skip to content

Instantly share code, notes, and snippets.

@dalehenrich
Last active September 22, 2015 17:27
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/82e971aab87c06ecb73f to your computer and use it in GitHub Desktop.
Save dalehenrich/82e971aab87c06ecb73f to your computer and use it in GitHub Desktop.
reset SHOUT globals
[ :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 ] ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment