aboutsummaryrefslogtreecommitdiffstats
path: root/README.dev
diff options
context:
space:
mode:
Diffstat (limited to 'README.dev')
-rw-r--r--README.dev5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.dev b/README.dev
index fb4f471..dbb97b0 100644
--- a/README.dev
+++ b/README.dev
@@ -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.