Example #1
0
#!/bin/env python
# -*- coding: utf-8 -*-
"""\
* *[Summary]* :: An =ICM= for providing plone3 service instances through siPlone3 module.
"""

from unisos import icm
from bisos.pals import siPlone3


if __name__ == "__main__":
    icm.g_icmMain(
        icmInfo=siPlone3.icmInfo,
        noCmndEntry=siPlone3.examples, # noCmndEntry=mainEntry,
        extraParamsHook=siPlone3.g_paramsExtraSpecify,
        importedCmndsModules=siPlone3.g_importedCmndsModules,
    )
Example #2
0
"""
####+END:
"""
*       /Empty/  [[elisp:(org-cycle)][| ]]
"""

####+BEGIN: bx:icm:python:section :title "= =Framework::=   __main__ g_icmMain ="
"""
*  [[elisp:(beginning-of-buffer)][Top]] ################ [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(delete-other-windows)][(1)]]    *= =Framework::=   G_main -- Instead Of ICM Dispatcher =*  [[elisp:(org-cycle)][| ]]  [[elisp:(org-show-subtree)][|=]] 
"""
####+END:

if __name__ == "__main__":
    icm.g_icmMain(
        icmInfo=icmInfo,
        noCmndEntry=examples,
        extraParamsHook=g_paramsExtraSpecify,
        importedCmndsModules=g_importedCmndsModules,
    )

####+BEGIN: bx:icm:python:section :title "Unused Facilities -- Temporary Junk Yard"
"""
*  [[elisp:(beginning-of-buffer)][Top]] ################ [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(delete-other-windows)][(1)]]    *Unused Facilities -- Temporary Junk Yard*  [[elisp:(org-cycle)][| ]]  [[elisp:(org-show-subtree)][|=]] 
"""
####+END:
"""
*       /Empty/  [[elisp:(org-cycle)][| ]]
"""

####+BEGIN: bx:icm:python:section :title "End Of Editable Text"
"""
*  [[elisp:(beginning-of-buffer)][Top]] ################ [[elisp:(blee:ppmm:org-mode-toggle)][Nat]] [[elisp:(delete-other-windows)][(1)]]    *End Of Editable Text*  [[elisp:(org-cycle)][| ]]  [[elisp:(org-show-subtree)][|=]] 
Example #3
0
                return cmndOutcome
            effectiveArgsList = G.icmRunArgsGet().cmndArgs
        else:
            effectiveArgsList = argsList

        callParamsDict = {}
        if not icm.cmndCallParamsValidate(callParamsDict, interactive, outcome=cmndOutcome):
            return cmndOutcome

        cmndArgsSpec = self.cmndArgsSpec()
        if not icm.cmndArgsValidate(effectiveArgsList, cmndArgsSpec, outcome=cmndOutcome):
            return cmndOutcome

        action = effectiveArgsList[0]
        effectiveArgsList.pop(0)

        print(action)
        
        for each in effectiveArgsList:
            print(each)

        return cmndOutcome.set(
            opError=icm.OpError.Success,
            opResults=None,
        )

icm.g_icmMain(
    noCmndEntry=examples,
    extraParamsHook=g_paramsExtraSpecify,
)