PixelOven.Delete

Overview

Delete is another utility API that is meant to aid in deleting common paths during the development cycle.

Common Directories

ArgumentDescription
coverageDeletes the ./coverage relative to the root the cmds execution.
distDeletes the ./dist relative to the root the cmds execution.
docsDeletes the ./docs relative to the root the cmds execution.
statsDeletes the ./stats relative to the root the cmds execution.
storiesDeletes the ./stories relative to the root the cmds execution.

Usage

Similar to the Copy cmd this is purposefully very limited in scope. The directories were chosen in part from our own opinions on best practices as well as limitations of the current API.

Using this cmd is as simple as:

yarn run pixeloven delete dist

A common pattern where this might be used is as a post command hook after a compilation step.

"scripts": {
"compile": "pixeloven compile ts",
"precompile": "pixeloven delete dist"
}
Last updated on by Brian Gebel