github.com/facebookincubator/ttpforge@v1.0.13-0.20240405153150-5ae801628835/cmd/test-resources/repos/test-repo/ttps/args/path/with-path.yaml (about)

     1  name: Testing Path Type Arguments
     2  description: |
     3    This TTP powers the test case
     4    "Argument with `type: path` - Should Succeed"
     5    in `cmd/run_test.go`
     6  args:
     7    - name: target_path
     8      description: |
     9        If a relative path is provided for this argument, it will
    10        be expanded to an absolute path based on the user's current
    11        working directory, NOT the configuration directory of the TTP.
    12      type: path
    13  steps:
    14    - name: cat_target_path
    15      inline: cat {{.Args.target_path}}