cskit-cli
v1.0.61
Published
Content Suite Kit CLI - Download and manage CSK skills from private repository
Maintainers
Readme
CSK CLI
Content Suite Kit Command Line Interface
CLI tool để download và quản lý CSK từ private GitHub repository.
Installation
npm install -g csk-cliPrerequisites
- Node.js >= 16
- GitHub Personal Access Token (granted after purchase)
Quick Start
# 1. Authenticate with GitHub
csk auth --login
# 2. Initialize CSK in your project
cd your-project
csk init
# 3. Check status
csk statusCommands
csk auth
Manage GitHub authentication.
csk auth --login # Add/update GitHub token
csk auth --logout # Remove stored token
csk auth --status # Check auth status (default)Token storage priority:
- Environment variable (
GITHUB_TOKENorGH_TOKEN) - GitHub CLI (
gh auth token) - OS Keychain (macOS Keychain, Windows Credential Manager, Linux libsecret)
- Config file (
~/.csk/config.json)
csk init
Download/update CSK in current project.
csk init # Smart merge (preserve user changes)
csk init --force # Force overwrite (except protected files)
csk init --no-merge # Skip merge, overwrite allProtected files (never overwritten):
.env,.env.local,.env.production*.key,*.pemconfig.local.json
csk status
Check installation status.
csk statusShows:
- Authentication status
- Installation version
- Directory status
csk update
Update CLI tool to latest version.
csk updateCreating a GitHub PAT
- Go to GitHub Settings > Tokens
- Select scopes:
repo(Full control of private repositories)
- Generate token
- Run
csk auth --loginand paste token
Support
- Website: https://cskit.net
- Email: [email protected]
License
MIT
