# Using command line parameters with 'riskscape pipeline eval'

**URL:** <https://community.riskscape.org.nz/t/using-command-line-parameters-with-riskscape-pipeline-eval/136>\
**Category:** Community\
**Created:** [21 July 2023 01:01 UTC](https://community.riskscape.org.nz/t/using-command-line-parameters-with-riskscape-pipeline-eval/136 "2023-07-21T01:01:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPowell](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JPowell](https://community.riskscape.org.nz/u/JPowell)\
**Post date:** [21 July 2023 01:01 UTC](https://community.riskscape.org.nz/t/using-command-line-parameters-with-riskscape-pipeline-eval/136/1 "2023-07-21T01:01:41Z")

</div>

With a model run I can use command line parameters to change the locations of input files like so

model.ini

```auto
[project]
description = Reads in a CSV file and then writes the data out unchanged

[model readCSV]
framework = pipeline
location = readCSVPipeline.txt

```

readCSVPipeline.txt

```auto
input(bookmark('inputCSV', {location: $csvFile}))
-> save(name: 'output')

```

Riskscape command

```auto
C:\Users\powellj\csvParameter>riskscape model run readCSV -p "csvFile = 'test2.csv'"

```

Is it possible to do the same thing using

```auto
riskscape pipeline eval readCSVPipeline.txt

```

?

---

<div class="post-metadata">

**Author:** ![mattn](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mattn](https://community.riskscape.org.nz/u/mattn)\
**Post date:** [21 July 2023 03:55 UTC](https://community.riskscape.org.nz/t/using-command-line-parameters-with-riskscape-pipeline-eval/136/2 "2023-07-21T03:55:43Z")

</div>

Hi John,

Unfortunately, `pipeline eval` does not have the same capabilities as it is largely provided for convenience in simple one-off use cases such as geospatial file type conversion or data filtering i.e. single step operations.

You can of course perform the substitution manually by specifying the file path in place of `$csvFile` in readCSVPipeline.txt which should work for this simple example, but only model runs support parameterisation for the time being.

Cheers  
Matt

---

<div class="post-metadata">

**Author:** ![JPowell](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JPowell](https://community.riskscape.org.nz/u/JPowell)\
**Post date:** [23 July 2023 11:25 UTC](https://community.riskscape.org.nz/t/using-command-line-parameters-with-riskscape-pipeline-eval/136/3 "2023-07-23T11:25:04Z")

</div>

Hi Matt,  
thanks for the clarification
