浏览代码

spark: add page (#2819)

Owen Voke 6 年之前
父节点
当前提交
389d5e54b9
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      pages/common/spark.md

+ 24 - 0
pages/common/spark.md

@@ -0,0 +1,24 @@
+# spark
+
+> The Laravel Spark command line tool.
+> Homepage: <https://spark.laravel.com>.
+
+- Register your API token:
+
+`spark register {{token}}`
+
+- Display the currently registered API token:
+
+`spark token`
+
+- Create a new Spark project:
+
+`spark new {{project_name}}`
+
+- Create a new Spark project with Braintree stubs:
+
+`spark new {{project_name}} --braintree`
+
+- Create a new Spark project with team based billing stubs:
+
+`spark new {{project_name}} --team-billing`