Skip to content

Instantly share code, notes, and snippets.

@gsemet
Created January 31, 2015 18:09
Show Gist options
  • Save gsemet/d8cf0f2f4338dcc6cfc7 to your computer and use it in GitHub Desktop.
Save gsemet/d8cf0f2f4338dcc6cfc7 to your computer and use it in GitHub Desktop.
Test Gist Plugin
def command(self):
# not the same signature than the renderable, but same name.
# it has the self so can change the state of the step directly even if it is not advises.
# it can add logs
...
a = self.getProperty('aproperty')
self.addLogStdio("I can describe what I will do since I have self").
self.some_variable = some_value
...
return the_actual_commands_to_add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment