Install and uninstall Asymptote’s security hooks for GitHub Copilot in VS Code.
Copy
Ask AI
asym copilot [command]
Copilot hooks are project-level only. You must run asym copilot install from the root of the git repository where you want hooks active. Run the command once per repository.
asym copilot --help
Copy
Ask AI
$ asym copilot --helpManage Asymptote integration with GitHub Copilot in VS Code.Use 'asym copilot install' to set up automatic security evaluationfor AI-assisted code changes in GitHub Copilot.Usage: asym copilot [command]Available Commands: install Install Copilot hooks for Asymptote security evaluation uninstall Remove Copilot hooks for AsymptoteFlags: -h, --help help for copilotUse "asym copilot [command] --help" for more information about a command.
Install Asymptote hooks for GitHub Copilot in the current repository.
Copy
Ask AI
cd /path/to/your/repoasym copilot install
asym copilot install --help
Copy
Ask AI
$ asym copilot install --helpInstall Asymptote hooks for GitHub Copilot in VS Code.This command sets up automatic security evaluation for AI-assisted code changes.After installation, every file edit by Copilot will be evaluated againstyour security policies.IMPORTANT: This installs hooks in the CURRENT DIRECTORY. You must run thiscommand from the root of the git repository where you want Copilot hooks.The hooks binary is installed to ~/.asymptote/copilot/ and the hookconfiguration is written to .github/hooks/hooks.json in the current repo.Prerequisites: - You must be logged in (run 'asym login' first) - Must be run from the root of a git repositoryUsage: asym copilot install [flags]Examples: # Install Copilot hooks in current project cd /path/to/your/repo asym copilot installFlags: -h, --help help for install
Flag
Description
-h, --help
Help for install
Hooks are written to .github/hooks/hooks.json in the current repository. The hooks binary is installed to ~/.asymptote/copilot/.
Remove Asymptote hooks from the current repository. Must be run from the same project directory where hooks were installed.
Copy
Ask AI
asym copilot uninstall
asym copilot uninstall --help
Copy
Ask AI
$ asym copilot uninstall --helpRemove Asymptote hooks from GitHub Copilot in VS Code.This removes the hook configuration from .github/hooks/hooks.json andcleans up the hooks binary. Other hooks in hooks.json are preserved.Must be run from the same project directory where hooks were installed.Usage: asym copilot uninstall [flags]Examples: # Remove Copilot hooks from current project asym copilot uninstallFlags: -h, --help help for uninstall