1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-08 06:55:24 +02:00
tldr/pages/common/satis.md
Managor d1fa35edf6
common/*: reduce usage of "command-line" (part 2) (#16950)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:23 +03:00

639 B

satis

The utility for the Satis static Composer repository. More information: https://github.com/composer/satis.

  • Initialize a Satis configuration:

satis init {{satis.json}}

  • Add a VCS repository to the Satis configuration:

satis add {{repository_url}}

  • Build the static output from the configuration:

satis build {{satis.json}} {{path/to/output_directory}}

  • Build the static output by updating only the specified repository:

satis build --repository-url {{repository_url}} {{satis.json}} {{path/to/output_directory}}

  • Remove useless archive files:

satis purge {{satis.json}} {{path/to/output_directory}}