clear_directory

Clears the specified directory while preserving the .git directory.

Arguments

Name
Type
Description
Required

path_to_directory

string

Path to the directory to clear.

Returns

Type
Description

null

This tool does not return any value.

Example

- name: clear_directory
  arguments:
    path_to_directory: <path-to-directory>

Last updated