Skip to content
Snippets Groups Projects
  • Jessica Yuen's avatar
    Append component params on generate · 82617551
    Jessica Yuen authored
    This commit will append both mandatory and optional  prototype
    parameters to the component params.libsonnet file on `ks gen foo ...`.
    
    Default values will be used for optional params where the user does not
    specify flags to `ks gen foo ...`.
    
    Because we are trying to append to jsonnet, we will have to traverse the
    AST to first identify the location of where to insert the new component
    params. New components will be inserted at the bottom of the components
    object, with the params ordered alphabetically.
    82617551
Code owners
Assign users and groups as approvers for specific file changes. Learn more.