浏览代码

license: add page

Hayden Schiff 9 年之前
父节点
当前提交
f5d62dfd93
共有 1 个文件被更改,包括 19 次插入0 次删除
  1. 19 0
      pages/common/license.md

+ 19 - 0
pages/common/license.md

@@ -0,0 +1,19 @@
+# license
+
+> Create license files for open-source projects.
+
+- Create a license:
+
+`license {{license_name}}`
+
+- Create a license with custom filename:
+
+`license -o {{filename.txt}} {{license_name}}`
+
+- List all locally available licenses:
+
+`license ls`
+
+- Create a license with explicitly-set name and year:
+
+`license --name {{custom_name}} --year {{custom_year}} {{license_name}}`