Skip to content
Français

createHarnessGitTools

import { createHarnessGitTools } from "@elie-laloum/outpost";

Create the git toolset: git runs a status, diff, log or show command and refuses —output, —ext-diff, —textconv and —open-files-in-pager. It is read-only and declares the command line git <command> <arguments> for permission rules.

Complete example and detailed rules.

HarnessToolset

export declare function createHarnessGitTools(): HarnessToolset;