Skip to main content

ChatNPM: ChatArch npm registry and package maintenance helper

Project description

ChatNPM

ChatNPM: ChatArch npm registry and package maintenance helper

快速开始

pip install -e ".[dev]"
chatnpm hello ChatArch
python -m pytest -q
python -m build

CLI 规范

这个模板默认依赖 chatstyle>=0.1.0chatenv>=0.1.1,新的命令应优先使用:

  • CommandSchema / CommandField 描述输入。
  • add_interactive_option() 提供统一 -i/-I
  • resolve_command_inputs() 统一缺参补问、默认值、TTY 与校验。

目录结构

  • src/:包源码
  • tests/code-tests/:代码测试和历史测试迁移
  • tests/cli-tests/:真实 CLI 测试,doc-first
  • tests/mock-cli-tests/:mock/fake CLI 测试,doc-first
  • docs/:长期维护文档,由 mkdocs 构建

开发说明

扩展脚手架前,先阅读 DEVELOP.mdAGENTS.md

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

chatnpm-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

chatnpm-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file chatnpm-0.1.0.tar.gz.

File metadata

  • Download URL: chatnpm-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for chatnpm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e347568103a05ea9b285b93c4a6195cc4e70f2c694550afbf27d99b9e045764
MD5 b99ba686af8a6ac8e884d1acdfd4d8c1
BLAKE2b-256 8c2d6a478a190738aad3484fce717eba151fbeb14c69e7918310b951b542a4c0

See more details on using hashes here.

File details

Details for the file chatnpm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chatnpm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for chatnpm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 752777c8122de17ca83e5d950a063cfb284bced04b9e949d3a4e6a9c5f4c4b30
MD5 500d75c0648b77dc0bbf27236a8582de
BLAKE2b-256 59ffa1edb63b0a7201572c7d9a2c8d3b3a772669bbd3b3524abb1e8b0559b6df

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