Skip to main content

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 server
  • stop - Stop the running server
  • status - Check server status
  • logs - View server logs

package

  • list - List all packages
  • show - Show package details
  • search - Search packages
  • publish - Publish a package
  • unpublish - Remove a package
  • download - Download package tarball

user

  • create - Create a new user
  • login - Login and get auth token
  • logout - Logout and invalidate token
  • whoami - Show current user

config

  • show - Display current config
  • validate - Validate config file
  • init - Create default config
  • get - Get a config value
  • set - Set a config value

token

  • list - List all tokens
  • create - Create a new token
  • revoke - Revoke a token

Requirements

  • Python 3.8+
  • Node.js 18+ (for Verdaccio)
  • Verdaccio installed globally or locally

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_anything_verdaccio-1.0.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_anything_verdaccio-1.0.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

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

Hashes for cli_anything_verdaccio-1.0.0.tar.gz
Algorithm Hash digest
SHA256 887ea14c9035f49fa2de9652a99b946fbfc2d52674411b0c5a0fe20f6da18449
MD5 7533d7d3145780873c37fdeb3f2f90c0
BLAKE2b-256 2033cc182ab678d961512bd7f25c3fbffe23fed18817d05c84661a1a638d4898

See more details on using hashes here.

File details

Details for the file cli_anything_verdaccio-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_anything_verdaccio-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5ffe487bbb401eeaf688b70bab4f117be4bb379bb51b56df6e60f887f4f6e69
MD5 60700b74cf835c50dd13c1868fc6ae4d
BLAKE2b-256 db4f3362f86409fc874e9d88f5a3185f97ad6b11d0e72e16d4ec206a196b99ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page