summaryrefslogtreecommitdiff
path: root/lib/oxidized/output/git.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-03-14 21:47:46 +0200
committerSaku Ytti <saku@ytti.fi>2014-03-14 21:47:46 +0200
commit71cf3505fc548b1bc8bdd6092cd8dd5a1e24cc91 (patch)
tree8bcc7d491b3bf405f6fede0b5cd3dd2a3f8dc81f /lib/oxidized/output/git.rb
parent7e0cf45a1481345e309e14eb1ae9c6b0a59457f8 (diff)
Introduce 'post' and 'pre' commands
Both post and pre are called after all 'cmd' are already called, but output from 'pre' is put on top of configuration output and output from 'post' is put on bottom of confguration output. Rationale is dynamic configuration, where you'll only know after running some commands what commands you want to run. Both except blocks, such as pre do # commands to execute end Both can be called multiple times
Diffstat (limited to 'lib/oxidized/output/git.rb')
0 files changed, 0 insertions, 0 deletions