scriptable command-line flags for `ionic start --cordova` that skips free account

Đang mở
#4,769 1 bình luận 1 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
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ệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu từ lệnh ionic start --cordova và theo dõi cách --no-interactive--confirm xử lý hai lời nhắc. Xác định một tổ hợp flag không tương tác trả lời Y cho xác nhận Cordova và N cho lời nhắc tài khoản miễn phí, sau đó xác minh rằng có thể tạo một ứng dụng Cordova mới mà không xuất hiện bất kỳ lời nhắc nào trong hai lời nhắc đó.

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

Mô tả

triage

Description:

There is no set of command line flags for a non-interactive start of a new cordova app without the free account prompt.

When setting up a new project with ionic start --cordova, the first prompt is

[WARN] About to integrate your app with Cordova.
       
       We now recommend ⚡️ Capacitor⚡️  (https://ion.link/capacitor) as the official native runtime for Ionic. To
       learn about the differences between Capacitor and Cordova, see these docs[1]. For a getting started guide, see
       these docs[2].
       
       [1]: https://ion.link/capacitor-differences-with-cordova-docs
       [2]: https://ion.link/capacitor-using-with-ionic-docs
       
? Are you sure you want to continue? (Y/n) 

For this prompt, the answer is "Y". Choosing "n" will fall back to Capacitor. --no-interactive will select n here, so that option is not viable. --confirm does not select "Y" so that option is not viable either.

The second prompt is

? Create free Ionic account? (y/N)

Here the desired choice is "N".

So in summary, the first question needs to be answered with "Y" and the second question has to be answered with "N", and the current set of command line flags do not cover this use case.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
681
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

Mở hướng dẫn đóng góp

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 ionic-team/ionic-cli

Tất cả issue của ionic-team/ionic-cli

Issue tương tự

Thêm issue về TypeScript

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.