(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:KUBE_ROOT)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                child: (C {<dirname>} {(DQ (${ Id.VSub_Name BASH_SOURCE))})
              ) <'/..'>
            }
          spids: [48]
        )
      ]
    )
    (command.ShFunction
      name: 'kube::release::semantic_version'
      body: 
        (BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {(${ Id.VSub_Name KUBE_ROOT) <'/cluster/kubectl.sh'>} {<version>} {<--client>})
                (C {<sed>} 
                  {
                    (DQ <'s/, */'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) <'\n'> 
                      <'/g'>
                    )
                  }
                )
                (C {<egrep>} {(DQ <'^GitVersion:'>)})
                (C {<cut>} {<-f2>} {<-d> <Id.Lit_Colon ':'>})
                (C {<cut>} {<-f2>} {<-d> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>)})
              ]
              negated: F
            )
          ]
        )
    )
    (command.ShFunction
      name: 'kube::release::semantic_image_tag_version'
      body: 
        (BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {<printf>} 
                  {
                    (DQ 
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (C 
                            {<kube> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <release> <Id.Lit_Colon ':'> 
                              <Id.Lit_Colon ':'> <semantic_version>
                            }
                          )
                      )
                    )
                  }
                )
                (C {<tr>} {<Id.Lit_Other '+'>} {<Id.Lit_Underscore _>})
              ]
              negated: F
            )
          ]
        )
    )
  ]
)