From 4fb71a13ff707a4e9bd31044bdcc330c87b7c013 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 19 Jan 2006 21:59:13 +0000 Subject: [PATCH] README: upgraded the ninjahelper section from the manpage git-svn-id: http://code.autistici.org/svn/backupninja/trunk@342 758a04ac-41e6-0310-8a23-8373a73cc35d --- README | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README b/README index 33ca1fd..03d96fe 100644 --- a/README +++ b/README @@ -253,6 +253,11 @@ To add an additional 'wizard' to ninjahelper, follow these steps: ... do work here ... } -(3) check the examples of the included helpers to see how they are - written. The dialog functions are defined in easydialog.sh. - +(3) look at the existing helpers to see how they are written. Try to re-use + functions, such as the dialog functions that are defined in easydialog.sh, + or the vserver functions defined in lib/vserver. + +(4) test, re-test, and test again. Try to break the helper by going backwards, + try to think like someone who has no idea how to configure your handler + would think, try to make your helper as simple as possible. Walk like a cat, + become your shadow, don't let your senses betray you. -- 2.30.2