Support --output-file for usethis tool requirements.txt#1794
Conversation
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/c78a8061-abb1-4491-b541-40694fdca9b8 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
--output-file/-o for usethis tool requirements.txt
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/1133fc0b-56ca-4400-9288-3ee99d692d49 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
--output-file/-o for usethis tool requirements.txt--output-file for usethis tool requirements.txt
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@copilot improve code coverage in the tests for this change, use the skill |
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/a033d52d-72c8-49a4-9950-00dfebd175ad Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Done in 3a95c92. Added a |
|
@copilot failing basedpyright, please fix |
…Subscript Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/7845b976-228c-443b-be4d-84ff9739e479 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
|
@copilot please update the docs. This oversight needs a lesson. |
… in reference.md Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/2dafdbc6-cd87-4d06-bcf4-ac95b89fd468 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Done in ee085dc — added |
output_fileparameter toRequirementsTxtToolSpec.__init__and updatemeta,pre_commit_configto use itRequirementsTxtTool.print_how_to_useto useself._output_fileuse_requirements_txtin_core/tool.pyto acceptoutput_fileparameter_generate_requirements_txtto acceptoutput_fileparameterwrite_simple_requirements_txtin_init.pyto acceptoutput_fileparameterrequirements_txt_output_file_optto_ui/options.py(--output-fileonly, no short form)requirements_txtCLI command in_ui/interface/tool.pyto passoutput_file-oshort flag per review feedback; filed lesson as issue agent: do not add abbreviated CLI flag forms unless explicitly requested #1797requirements_txtbase and spec modulesreportOptionalSubscripterrordocs/cli/reference.mdto document--output-fileoption; filed lesson as issue lesson: always update docs/cli/reference.md when adding new CLI flags #1811