Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/mod.ts>GlobalConfig

A simple but powerful TypeScript-based dot-file manager.
Latest
interface GlobalConfig
import { type GlobalConfig } from "https://deno.land/x/powar@1.0.4/mod.ts";

The global configuration for powar-ts.

Properties

optional
preAction: (p: GlobalApi) => Promise<void>

Perform some tasks before the modules are run.

rootPath: string

The root path for the powar-ts configuration, usually this should be __dirname.

modules: Module[]

The modules to run.

optional
postAction: (p: GlobalApi) => Promise<void>

Perform some tasks after the modules are run.