Skip to content

More and better flags

Pre-release
Pre-release

Choose a tag to compare

@dantheman0207 dantheman0207 released this 27 Feb 21:38

Here's an example config file:

version: 0.0.1
tools:
  - name: kustomize
    name_for_ai: kustomize
    description: kustomize
    description_for_ai: kustomize
    api:
      type: openapi
      url: https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/api/openapi-spec/swagger.json
    logo_url: https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/images/kustomize.png
    contact_email: 9h8Ue@example.com
    legal_info_url: https://github.com/kubernetes-sigs/kustomize/blob/master/LICENSE
    auth:
      type: "none"

You can run this command to test this configuration (assuming you save it as test_config.yaml:

./fyodorov deploy --dry-run test_config.yaml --set "tools[0].name=test_name,tools[0].api.type=test_api_type"