Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

41
tldr/twine Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# twine
> Utility for publishing Python packages on PyPI.
> More information: <https://twine.readthedocs.io/en/stable/#commands>.
- Upload to PyPI:
`twine upload dist/*`
- Upload to the Test PyPI [r]epository to verify things look right:
`twine upload -r testpypi dist/*`
- Upload to PyPI with a specified [u]sername and [p]assword:
`twine upload -u {{username}} -p {{password}} dist/*`
- Upload to an alternative repository URL:
`twine upload --repository-url {{repository_url}} dist/*`
- Check that your distribution's long description should render correctly on PyPI:
`twine check dist/*`
- Upload using a specific pypirc configuration file:
`twine upload --config-file {{configuration_file}} dist/*`
- Continue uploading files if one already exists (only valid when uploading to PyPI):
`twine upload --skip-existing dist/*`
- Upload to PyPI showing detailed information:
`twine upload --verbose dist/*`