Custom Component CLI

Đang mở
#644 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/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ệ
git, javascript, python
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Start by reviewing the existing template repository and how ReactPy currently exposes user-facing commands. Move the template into ReactPy core, distribute it with the project, and add a command such as reactpy js_component <component_name> that invokes cookiecutter without requiring users to fetch the Git repository. Done means both work items are implemented and a custom component project can be generated through the CLI.

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

Mô tả

priority-3-low
Current Situation

Currently, creating a custom component requires manual steps. Namely, the developer must use the template repository and pip install cookiecutter.

Since the template repo is a Git repo, you need to have git installed when you run cookiecutter to use the template. This is an unnecessary added dependency and barrier to entry.

Proposed Actions

Create a Command Line Interface (CLI) for creating custom components.

For example, Django has it's django-admin startproject <project_name> command for users. We could implement something similar. For example, reactpy js_component <component_name>.

Work Items
  • Move the template repo into ReactPy core and distribute the template repo with the project
  • Make a CLI that calls cookiecutter on the static template repo to start a new project
Ngôn ngữ chính
Python
Star
8.1k
Fork
332
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 reactive-python/reactpy

Tất cả issue của reactive-python/reactpy

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.