瀏覽代碼

satis: add page

pxgamer 6 年之前
父節點
當前提交
409355108a
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      pages/common/satis.md

+ 23 - 0
pages/common/satis.md

@@ -0,0 +1,23 @@
+# satis
+
+> The command-line utility for the Satis static Composer repository.
+
+- 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}}`