code: def list_actions(i):
      
  
      o=i.get('out','')
  
      ruoa=i.get('repo_uoa','')
      muoa=i.get('module_uoa','')
      duoa=i.get('data_uoa','')
  
      if muoa!='':
         if duoa!='':
            muoa=duoa
            duoa=''
  
         # Find path to module 'module' to get dummies
         ii={'action':'load',
             'module_uoa':cfg['module_name'],
             'data_uoa':muoa,
             'common_func':'yes'}
         if ruoa!='': ii['repo_uoa']=ruoa
  
         r=access(ii)
         if r['return']>0: return r
  
         dd=r['dict']
     
         actions=dd.get('actions',{})
      else:
         actions=cfg['actions']
  
      # If console, print actions
      if o=='con':
         for q in sorted(actions.keys()):
             s=q
  
             desc=actions[q].get('desc','')
             if desc!='': s+=' - '+desc
  
             out(s)
  
      return {'return':0, 'actions':actions}
docs: Input:  {
                (repo_uoa)   - repo UOA
                (module_uoa) - module_uoa, if =="", use kernel
                (data_uoa)  
              }
  
      Output: {
                return       - return code =  0, if successful
                                           >  0, if error
                (error)      - error text if return > 0
  
                actions      - list of actions
              }