deactivated sub step in cmd

This shows how to deactivate a sub step

cmd

add a extra x to cmd to make it cmdx as indication to deactivate for the time being

name

add a extra x to name to make it namex as indication to deactivate for the time being, this is for the cases for the simple cmd only, such as exit, break etc

Demo

source

Main task yaml file
    tasks:
    - name: task
      task:
      - func: cmd
        do:
        - name: print
          cmdy: "step1"
        - name: print
          cmdx: "step2"
        - name: print
          cmd: "step3"
      - func: cmd
        do:
        - name: print
          cmdy: "step4"
        - namex: exit
        - namex: break
        - name: print
          cmdy: "step4"
      - func: cmd
        do:
        - name: print
          cmd: "step5"
      - func: cmd
        do:
        - name: print
          cmdx: "step6"
    
Main log file
    loading [Config]:  ./tests/functests/upconfig.yml
    Main config:
                 Version -> 1.0.0
                  RefDir -> ./tests/functests
                 WorkDir -> cwd
              AbsWorkDir -> /up_project/up
                TaskFile -> c0138
                 Verbose -> vvv
              ModuleName -> self
               ShellType -> /bin/sh
           MaxCallLayers -> 8
                 Timeout -> 3600000
     MaxModuelCallLayers -> 256
               EntryTask -> task
      ModRepoUsernameRef -> 
      ModRepoPasswordRef -> 
    work dir: /up_project/up
    -exec task: task
    loading [Task]:  ./tests/functests/c0138
    module: [self], instance id: [dev], exec profile: []
    profile -  envVars:
    
    (*core.Cache)({
    })
    
    Task1: [task ==> task:  ]
    -Step1:
    self: final context exec vars:
    
    (*core.Cache)({
      "up_runtime_task_layer_number": 0
    })
    
    ~SubStep1: [print:  ]
     WARN: [cmd] - [lacking detailed implementation yet]
    ~SubStep2: [print:  ]
     WARN: [cmd] - [temporarily deactivated]
    ~SubStep3: [print:  ]
    step3
    -Step2:
    self: final context exec vars:
    
    (*core.Cache)({
      "up_runtime_task_layer_number": 0
    })
    
    ~SubStep1: [print:  ]
     WARN: [cmd] - [lacking detailed implementation yet]
    ~SubStep2: [:  ]
     WARN: [cmd] - [temporarily deactivated]
    ~SubStep3: [:  ]
     WARN: [cmd] - [temporarily deactivated]
    ~SubStep4: [print:  ]
     WARN: [cmd] - [lacking detailed implementation yet]
    -Step3:
    self: final context exec vars:
    
    (*core.Cache)({
      "up_runtime_task_layer_number": 0
    })
    
    ~SubStep1: [print:  ]
    step5
    -Step4:
    self: final context exec vars:
    
    (*core.Cache)({
      "up_runtime_task_layer_number": 0
    })
    
    ~SubStep1: [print:  ]
     WARN: [cmd] - [temporarily deactivated]
    
Logs with different verbose level
Raw logs with different verbose level