1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages/common/pio-package.md
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

37 lines
1.1 KiB
Markdown

# pio package
> Manage packages in the registry.
> Packages can only be removed within 72 hours (3 days) from the date that they are published.
> More information: <https://docs.platformio.org/en/latest/core/userguide/package/>.
- Create a package tarball from the current directory:
`pio package pack --output {{path/to/package.tar.gz}}`
- Create and publish a package tarball from the current directory:
`pio package publish`
- Publish the current directory and restrict public access to it:
`pio package publish --private`
- Publish a package:
`pio package publish {{path/to/package.tar.gz}}`
- Publish a package with a custom release date (UTC):
`pio package publish {{path/to/package.tar.gz}} --released-at "{{2021-04-08 21:15:38}}"`
- Remove all versions of a published package from the registry:
`pio package unpublish {{package}}`
- Remove a specific version of a published package from the registry:
`pio package unpublish {{package}}@{{version}}`
- Undo the removal, putting all versions or a specific version of the package back into the registry:
`pio package unpublish --undo {{package}}@{{version}}`