HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandsatiscliforutility

Problem

How to use the satis command: The utility for the Satis static Composer repository. More information: <https://github.com/composer/satis>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/satis

Revisions (0)

No revisions yet.