Skip to main content

Directory Commands

Commands for interacting with the file system and VS Code extension API.
DIRECTORY_COMMANDS
object
Commands for directory operations

Directory Responses

DIRECTORY_RESPONSE
object
Response types for directory operations

Directory Errors

DIRECTORY_ERRORS
object
Error types for directory operations

Git Commands

Commands for Git operations.
GIT_COMMANDS
object
Commands for Git operations

Git Errors

GIT_ERRORS
object
Error types for Git operations

Usage Example

import { DIRECTORY_COMMANDS, GIT_COMMANDS } from '@/extension/config';

// Request directory data
vscodeApi.postMessage({
  type: DIRECTORY_COMMANDS.read_directory
});

// List Git branches
vscodeApi.postMessage({
  type: GIT_COMMANDS.list_branches
});
See: src/extension/config/index.ts

Build docs developers (and LLMs) love