Ver código fonte

box: add page (#1998)

Owen Voke 7 anos atrás
pai
commit
7457ef8b95
1 arquivos alterados com 31 adições e 0 exclusões
  1. 31 0
      pages/common/box.md

+ 31 - 0
pages/common/box.md

@@ -0,0 +1,31 @@
+# box
+
+> A PHP application for building and managing Phars.
+
+- Build a new Phar file:
+
+`box build`
+
+- Build a new Phar file using a specific config file:
+
+`box build -c {{path/to/config}}`
+
+- Display information about the PHAR PHP extension:
+
+`box info`
+
+- Display information about a specific Phar file:
+
+`box info {{path/to/phar_file}}`
+
+- Validate the first found config file in the working directory:
+
+`box validate`
+
+- Verify the signature of a specific Phar file:
+
+`box verify {{path/to/phar_file}}`
+
+- Display all available commands and options:
+
+`box help`