(CommandList children: [ (C {(set)} {(-o)} {(errexit)}) (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KUBE_ROOT) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(dirname)} {(DQ (${ VSub_Name BASH_SOURCE))})] ) left_token: <Left_CommandSub '$('> spids: [64 72] ) (/..) } spids: [63] ) ] spids: [63] ) (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/hack/lib/init.sh))}) (C {(kube) (Lit_Other ':') (Lit_Other ':') (golang) (Lit_Other ':') (Lit_Other ':') (setup_env)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BINS) op: Equal rhs: {(ArrayLiteralPart words:[{(cmd/clicheck)}])} spids: [94] ) ] spids: [94] ) (C {(make)} {(-C)} {(DQ (${ VSub_Name KUBE_ROOT))} {(Lit_VarLike 'WHAT=') (DQ (BracedVarSub token: <VSub_Name BINS> bracket_op: (WholeArray op_id:Arith_Star) spids: [114 119] ) ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:clicheck) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(kube) (Lit_Other ':') (Lit_Other ':') (util) (Lit_Other ':') (Lit_Other ':') (find-binary) } {(DQ (clicheck))} ) ] ) left_token: <Left_CommandSub '$('> spids: [124 136] ) } spids: [123] ) ] spids: [123] ) (If arms: [ (if_arm cond: [ (Pipeline children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:output) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{($ VSub_Name '$clicheck')}] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [147] ) ] ) ] ) left_token: <Left_Backtick '`'> spids: [144 149] ) } spids: [143] ) ] spids: [143] ) ] negated: True ) ] action: [ (C {(echo)} {(DQ ($ VSub_Name '$output'))}) (C {(echo)}) (C {(echo)} {(DQ ('FAILURE: CLI is not following one or more required conventions.'))}) (C {(exit)} {(1)}) ] spids: [16777215 151] ) ] else_action: [ (C {(echo)} {(DQ ($ VSub_Name '$output'))}) (C {(echo)}) (C {(echo)} {(DQ ('SUCCESS: CLI is following all tested conventions.'))}) ] spids: [175 194] ) ] )