Skip to content

Commit e4d9906

Browse files
Add file/folder-exists subactions (#371)
Co-authored-by: Whipstickgostop <8366326+Whipstickgostop@users.noreply.github.com>
1 parent af3a4e0 commit e4d9906

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: File Exists
3+
description: Determines if a given file exists
4+
version: 1.0.1
5+
parameters:
6+
- name: File to Check if Exists
7+
type: File
8+
required: true
9+
description: Select the file to check, or enter a path
10+
- name: Variable Name
11+
type: Text
12+
default: fileExists
13+
description: The variable name to contain the result.
14+
variables:
15+
- name: fileExists
16+
type: bool
17+
description: `True` if the file exists, `False` if it doesn't.
18+
---
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Folder Exists
3+
description: Determines if a given folder exists
4+
version: 1.0.1
5+
parameters:
6+
- name: Folder to Check if Exists
7+
type: File
8+
required: true
9+
description: Select the folder to check, or enter a path
10+
- name: Variable Name
11+
type: Text
12+
default: folderExists
13+
description: The variable name to contain the result.
14+
variables:
15+
- name: folderExists
16+
type: bool
17+
description: `True` if the folder exists, `False` if it doesn't.
18+
---

0 commit comments

Comments
 (0)