(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: (Token id:Id.Left_DollarParen val:'$(' span_id:49)
                command_list: 
                  (command.CommandList
                    children: [(C {(dirname)} {(DQ (${ Id.VSub_Name BASH_SOURCE))})]
                  )
              ) (/..)
            }
          spids: [48]
        )
      ]
    )
    (command.ShFunction
      name: 'kube::release::semantic_version'
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {(${ Id.VSub_Name KUBE_ROOT) (/cluster/kubectl.sh)} {(version)} {(--client)})
                (C {(sed)} 
                  {
                    (DQ ('s/, */') 
                      (word_part.EscapedLiteral
                        token: (Token id:Id.Lit_EscapedChar val:'\\\\' span_id:107)
                      ) ('\n') (/g)
                    )
                  }
                )
                (C {(egrep)} {(DQ ('^GitVersion:'))})
                (C {(cut)} {(-f2)} {(-d) (Id.Lit_Other ':')})
                (C {(cut)} {(-f2)} 
                  {(-d) 
                    (word_part.EscapedLiteral
                      token: (Token id:Id.Lit_EscapedChar val:'\\"' span_id:136)
                    )
                  }
                )
              ]
              negated: F
            )
          ]
        )
    )
    (command.ShFunction
      name: 'kube::release::semantic_image_tag_version'
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {(printf)} 
                  {
                    (DQ 
                      (command_sub
                        left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:159)
                        command_list: 
                          (command.CommandList
                            children: [
                              (C 
                                {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (release) 
                                  (Id.Lit_Other ':') (Id.Lit_Other ':') (semantic_version)
                                }
                              )
                            ]
                          )
                      )
                    )
                  }
                )
                (C {(tr)} {(Id.Lit_Other '+')} {(_)})
              ]
              negated: F
            )
          ]
        )
    )
  ]
)