diff options
author | hut <hut@lepus.uberspace.de> | 2015-02-17 23:24:46 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-02-17 23:24:46 +0100 |
commit | 677c9ae868fcab6f97f964d59c6784398e08377b (patch) | |
tree | 02d7f28aa1b7beb1254de00a5428644cd9908b2c | |
parent | fbd6a0afce7063891975e880010e80c6c4589eb5 (diff) | |
download | ranger-677c9ae868fcab6f97f964d59c6784398e08377b.tar.gz |
config/commands_sample.py: added comments
-rw-r--r-- | ranger/config/commands_sample.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ranger/config/commands_sample.py b/ranger/config/commands_sample.py index 698a92ca..b65bc172 100644 --- a/ranger/config/commands_sample.py +++ b/ranger/config/commands_sample.py @@ -4,9 +4,13 @@ # documentation. Do NOT add them all here, or you may end up with defunct # commands when upgrading ranger. -# You need to import ranger.api.commands to get the Command class: +# You always need to import ranger.api.commands here to get the Command class: from ranger.api.commands import * -# Import any other python modules as needed: + +# A simple command for demonstration purposes follows. +#------------------------------------------------------------------------------ + +# You can import any python module as needed. import os # Any class that is a subclass of "Command" will be integrated into ranger as a |