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

x/powar/example/deps.ts>powar.GlobalConfig

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
interface powar.GlobalConfig
import { type powar } from "https://deno.land/x/powar@1.0.3/example/deps.ts";
const { GlobalConfig } = powar;

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.