be --dir DIR COMMAND now roots the bugdir in DIR without changing directories.
[be.git] / README.dev
index fb4f4714795f21e11e11ef6db6b66e89a9bb2866..dbb97b06a3bfd722a60292e25a72bb59188465cb 100644 (file)
@@ -10,7 +10,8 @@ To fit into the current framework, your extension module should
 provide the following elements:
   __desc__
     A short string describing the purpose of your plugin
-  execute(args, manipulate_encodings=True, restrict_file_access=False)
+  execute(args, manipulate_encodings=True, restrict_file_access=False,
+          dir=".")
     The entry function for your plugin.  args is everything from
     sys.argv after the name of your plugin (e.g. for the command
     `be open abc', args=['abc']).
@@ -23,6 +24,8 @@ provide the following elements:
     before attempting to read or write a file.  See the
     restrict_file_access documentation for details.
 
+    dir is a directory inside the repository of interest.
+
     Note: be supports command-completion.  To avoid raising errors you
     need to deal with possible '--complete' options and arguments.
     See the 'Command completion' section below for more information.