Command-line interface for Compliance Copilot — manage compliance rules, search your rule library directly from the terminal.
pip install git+https://github.com/Ollsoft-ai/copilot-cli.gitRequires Python 3.11 or higher.
compliance login
compliance initlogin opens a browser window for authentication and saves a long-lived token locally. init downloads your company's compliance rules into the current project directory.
| Command | Description |
|---|---|
login |
Log in via browser and save credentials locally. |
logout |
Log out and remove saved credentials. |
switch |
Switch the active company without re-logging in. |
init |
Download compliance rules into the current project. |
update |
Update compliance rules, overwriting existing files. |
search-rules |
Search rules by keyword or meaning. |
tags |
List all unique tags across active rules. |
keywords |
List all unique keywords across active rules. |
# Search rules by free text
compliance search-rules "verify firmware signature"
# Filter by tag and severity
compliance search-rules --flags gdpr,logging --severity HIGH