Vignette: Use btw from the terminal

Đang mở
#230 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
68/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
cli, documentation

Hướng nghiên cứu

Start by reading the current btw CLI help and the install_btw_cli() entry point, then inspect the existing skills and MCP articles for integration context. Verify representative terminal commands, prerequisites, PATH behavior, JSON output, and local-package behavior against the implementation. Done means a reproducible vignette guides humans from installation through everyday R workflows and coding-agent use without fabricating output.

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

Mô tả

documentation

Goal and audience

Show humans how to install and use the btw CLI for everyday R documentation, environment, and package-development questions without opening an interactive R session. Then show how to get an existing coding agent to use the same interface.

The primary audience is humans working with R from a terminal, not agents. The destination is a working installation, confidence using representative commands, and a clear path to coding-agent integration.

Proposed coverage — reassess before drafting

This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.

  • Install with install_btw_cli(), covering prerequisites and finding the executable on PATH.
  • Discover available commands through btw's help.
  • Look up help topics, find topics and vignettes, and read package NEWS.
  • Inspect installed packages and platform information.
  • Search CRAN when finding a package, as distinct from reading an installed package's documentation.
  • Demonstrate representative package commands such as tests, documentation, and checks.
  • Explain working-directory and local-development-package behavior where it affects results.
  • Introduce JSON output where useful for shell composition.
  • Finish with coding-agent integration: instruct an agent to use btw, show the supplied r-btw-cli skill, and explain help-based command discovery.

Suggested boundaries

Do not reproduce the full command reference, explain Rapp internals, or include MCP setup. Agent use is an application of the human CLI workflow, not the opening premise. Link to the skills and MCP articles where useful.

Writing guidance

Verify command syntax and output against the actual CLI. Distinguish terminal commands from R installation commands. Use reproducible examples, account for platform/setup differences, and do not fabricate terminal output.

Ngôn ngữ chính
R
Star
150
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 posit-dev/btw

Tất cả issue của posit-dev/btw

Issue tương tự

Thêm issue về R

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.