CLI harness for Verdaccio npm registry
Project description
CLI Anything - Verdaccio
A comprehensive CLI harness for managing Verdaccio npm registry instances.
Installation
pip install cli-anything-verdaccio
Or install from source:
cd agent-harness
pip install -e .
Usage
One-shot Commands
# Start a Verdaccio server
cli-anything-verdaccio session start --port 4873
# Check server status
cli-anything-verdaccio session status
# Create a user
cli-anything-verdaccio user create myuser --email myuser@example.com
# Login
cli-anything-verdaccio user login myuser
# List packages
cli-anything-verdaccio package list
# Publish a package
cli-anything-verdaccio package publish ./my-package.tgz
# Stop server
cli-anything-verdaccio session stop
REPL Mode
cli-anything-verdaccio repl
Interactive session:
verdaccio> session start --port 4873
Server started at http://localhost:4873
verdaccio> user create testuser
Password: ******
User 'testuser' created
verdaccio> package list
[]
verdaccio> exit
JSON Output
All commands support --json flag for machine-readable output:
cli-anything-verdaccio --json session status
Output:
{
"success": true,
"data": {
"running": true,
"pid": 12345,
"url": "http://localhost:4873"
},
"message": "Server running at http://localhost:4873"
}
Command Groups
session
start- Start a Verdaccio serverstop- Stop the running serverstatus- Check server statuslogs- View server logs
package
list- List all packagesshow- Show package detailssearch- Search packagespublish- Publish a packageunpublish- Remove a packagedownload- Download package tarball
user
create- Create a new userlogin- Login and get auth tokenlogout- Logout and invalidate tokenwhoami- Show current user
config
show- Display current configvalidate- Validate config fileinit- Create default configget- Get a config valueset- Set a config value
token
list- List all tokenscreate- Create a new tokenrevoke- Revoke a token
Requirements
- Python 3.8+
- Node.js 18+ (for Verdaccio)
- Verdaccio installed globally or locally
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_anything_verdaccio-1.0.0.tar.gz.
File metadata
- Download URL: cli_anything_verdaccio-1.0.0.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
887ea14c9035f49fa2de9652a99b946fbfc2d52674411b0c5a0fe20f6da18449
|
|
| MD5 |
7533d7d3145780873c37fdeb3f2f90c0
|
|
| BLAKE2b-256 |
2033cc182ab678d961512bd7f25c3fbffe23fed18817d05c84661a1a638d4898
|
File details
Details for the file cli_anything_verdaccio-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cli_anything_verdaccio-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5ffe487bbb401eeaf688b70bab4f117be4bb379bb51b56df6e60f887f4f6e69
|
|
| MD5 |
60700b74cf835c50dd13c1868fc6ae4d
|
|
| BLAKE2b-256 |
db4f3362f86409fc874e9d88f5a3185f97ad6b11d0e72e16d4ec206a196b99ac
|