def create_commands(self): category = CommandCategory(':', 'Remote JSONAPI Commands', 'Commands using JSONAPI') self.__category = category category.add_command(self.__on_connect()) category.add_command(self.__on_disconnect()) category.add_command(self.__subscribe()) category.add_command(self.__unsubscribe()) return category
def create_commands(self): category = CommandCategory('#', 'System Commands', 'Commands affecting local status') # Input Events category.add_command(self.__quitter()) category.add_command(self.__list_env()) category.add_command(self.__set_env()) category.add_command(self.__unset_env()) category.add_command(self.__clear()) category.add_command(self.__forget()) category.add_command(self.__connect()) category.add_command(self.__disconnect()) category.add_command(self.__save()) category.add_command(self.__load()) # KeyPress Events category.add_command(self.__onquit()) category.add_command(self.__submitter()) category.add_command(self.__scroll_up()) category.add_command(self.__scroll_down()) category.add_command(self.__histforward()) category.add_command(self.__histback()) category.add_command(self.__alias_cmd()) category.add_command(self.__alias_recorder()) category.add_command(self.__alias_listener()) return category