pyzenkit.zencli module


This module is under development, please do not use it yet.

class pyzenkit.zencli.ZenCLI(**kwargs)[source]

Bases: object

Base implementation of simple pluggable command line interface

This implementation is fully working on its own, however it is recommended to customize the functionality via inheritance.

cbk_command_list(context, args)[source]

Generate class name from a module file name

register_command(name, obj, cbk, hlp)[source]

Generate class name from a module file name

class pyzenkit.zencli.ZenCLIModule[source]

Bases: object

Base class for all pluggable ZenCLI modules

All modules must extend this class. Currently there is no base implementation, but this can change in the future.