|
@@ -15,6 +15,8 @@
|
|
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
|
+"""This is the main calling class for the bindctl configuration and
|
|
|
+ command tool. It sets up a command interpreter and runs that."""
|
|
|
|
|
|
import sys; sys.path.append ('@@PYTHONPATH@@')
|
|
|
|
|
@@ -26,6 +28,7 @@ from optparse import OptionParser, OptionValueError
|
|
|
__version__ = 'Bindctl'
|
|
|
|
|
|
def prepare_config_commands(tool):
|
|
|
+ '''Prepare fixed commands for local configuration editing'''
|
|
|
module = ModuleInfo(name = "config", desc = "Configuration commands")
|
|
|
cmd = CommandInfo(name = "show", desc = "Show configuration")
|
|
|
param = ParamInfo(name = "identifier", type = "string", optional=True)
|