Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Improve help message when using "plonecli -l"

Đang mở
#29 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start at the CLI entry points for plonecli -l and plonecli create, and inspect how their help and missing-argument messages are assembled. Compare the behavior with the official creating-a-Plone-add-on documentation and check issue #28 first; done means the suggested command appears in the relevant help output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

04 type: enhancement 31 needs: help 41 lvl: easy
  • Plone CLI version:

0.2.0

  • Python version:

2.7.9

  • Operating System:
Description

Improve help.

What I Did
plonecli -l                                                                                                                                                                     [17:21:31]
Available mr.bob templates:
 - buildout
 - addon
  - vocabulary
  - theme
  - behavior
  - content_type
 - theme_package

And then:

plonecli create addon                                                                                                                                                           [17:21:55]
Usage: plonecli create [OPTIONS] TEMPLATE NAME
Try "plonecli create -h" for help.

Error: Missing argument "name".

I suggest adding the last message plonecli create addon src/collective.todo available at the official docs https://github.com/plone/plonecli#creating-a-plone-add-on. It would be nice to solve https://github.com/plone/plonecli/issues/28 before this issue.

Ngôn ngữ chính
Python
Star
20
Fork
12
Merge trung bình
11 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plone/plonecli

Tất cả issue của plone/plonecli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.