Skip to content

Latest commit

 

History

History
135 lines (74 loc) · 2.05 KB

File metadata and controls

135 lines (74 loc) · 2.05 KB

nodejsscriptDocs


nodejsscript / s / rm

Function: rm()

Removes files. The wildcard * is accepted.

Param

Available options: - -f (force), - -r, -R (recursive)

Param

Files to remove.

rm(options, files)

rm(options, files): ShellString

Removes files. The wildcard * is accepted.

Parameters

options: string

Available options: - -f: force - -r, -R: recursive

files: string[]

Files to remove.

Returns

ShellString

Object with shell exit code, stderr and stdout.

Object with shell exit code, stderr and stdout.

Param

Available options: - -f (force), - -r, -R (recursive)

Param

Files to remove.

rm(options, files)

rm(options, ...files): ShellString

Removes files. The wildcard * is accepted.

Parameters

options: string

• ...files: string[]

Returns

ShellString

Param

Available options: - -f (force), - -r, -R (recursive)

Param

Files to remove.

rm(files)

rm(files): ShellString

Removes files. The wildcard * is accepted.

Parameters

files: string[]

Files to remove.

Returns

ShellString

Object with shell exit code, stderr and stdout.

Object with shell exit code, stderr and stdout.

Param

Available options: - -f (force), - -r, -R (recursive)

Param

Files to remove.

rm(files)

rm(...files): ShellString

Removes files. The wildcard * is accepted.

Parameters

• ...files: string[]

Returns

ShellString

Param

Available options: - -f (force), - -r, -R (recursive)

Param

Files to remove.