Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@skillgate-io/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@skillgate-io/cli
Optional npm/npx wrapper for the Python-native SkillGate CLI.
Important:
- Canonical runtime is Python package distribution (
pipx/PyPI). - This wrapper does not embed the scanning engine.
- This wrapper does not auto-install Python or SkillGate.
This means:
- Use Python install path for the simplest setup.
- Use this npm package only if you prefer Node-based command entrypoint.
Usage
Global install:
npm install -g @skillgate-io/cli
skillgate versionDirect run:
npx @skillgate-io/cli versionRecommended direct Python path (no npm required):
pipx install skillgate
skillgate versionPrerequisites
Install Python runtime first (required):
pipx install skillgateor
python -m pip install --upgrade skillgateRequired environment variables
At minimum, set an API key before entitlement-resolved CLI commands:
export SKILLGATE_API_KEY="sg_free_or_paid_key_here"Optional (only when needed):
export SKILLGATE_API_URL="https://api.skillgate.io"Full variable reference: ../.env.example in the repository.
Python override
If needed, force a Python executable:
SKILLGATE_PYTHON=/path/to/python skillgate version