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

x/smx/src/modules/config/config-handler.ts>IConfigHandler

Manage and sync scripts, configs and templates between computers
Latest
interface IConfigHandler
import { type IConfigHandler } from "https://deno.land/x/smx@v0.6.0/src/modules/config/config-handler.ts";

Properties

readonly
globalFile: ConfigFile<GlobalConfig> | undefined
readonly
localFile: ConfigFile<LocalConfig> | undefined
readonly
targetId: string | undefined

Methods

loadGlobalConfig(path: [string, "file" | "folder"], localPath?: string): Promise<void>
loadLocalConfig(path: string): Promise<void>
setTargetId(targetId: string): void