Sign in
apache
/
openserverless-cli
/
refs/heads/main
/
.
/
tools
/
echoifexists.md
blob: f7a19aa55572196f09742c29848fb27ee310bec3 [
file
] [
log
] [
blame
] [
view
]
echoifexists
is
a utility that echoes the value of
`<a>`
if
`<file>`
exists
,
echoes the value of
`<b>`
otherwise
.
```text
Usage:
ops -echoifexists <file> <a> <b>
```
## Example
```bash
ops -echoifexists "exists" "doesn't exists"
```