2019-02-12 15:59:02 +00:00
|
|
|
# satis
|
|
|
|
|
|
|
|
> The command-line utility for the Satis static Composer repository.
|
2019-05-15 09:19:23 +01:00
|
|
|
> Homepage: <https://github.com/composer/satis>.
|
2019-02-12 15:59:02 +00:00
|
|
|
|
|
|
|
- Initialise 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}}`
|