You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+14-2
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,21 @@
2
2
3
3
A collection of useful legal clauses for coding consultants or employees to put into their contracts. Written and/or solicited by <ahref="http://alexchaffee.com">Alex Chaffee</a>. Available at <https://github.com/alexch/clauses>.
4
4
5
-
Similar clauses at <https://gist.github.com/postmodern/3242224>
6
-
7
5
Disclaimer: I AM NOT A LAWYER. You should run all this by your own legal counsel.
8
6
7
+
## Automatic contract generation
8
+
9
+
1. write a contract using [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
10
+
2. use [`{{mustache}}`](https://mustache.github.io/) inside your document's body
11
+
3. set variables in your document's header (a bunch of `name:value` lines, terminated with a blank line)
Copy file name to clipboardexpand all lines: contract.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@
7
7
duration: one month
8
8
max_hours: twenty (20)
9
9
rate: 100
10
-
deposit: 1000
11
10
late_fee: five percent (5%)
12
11
net_days: ten (10)
13
12
@@ -25,8 +24,8 @@ Consultant will not perform or invoice Client for Services in excess of {{max_ho
25
24
26
25
2. Fees & Expenses.
27
26
Client shall pay Consultant at the rate of ${{rate}} per hour for the Services, and reimburse Consultant for reasonable out-of-pocket expenses incurred in connection with the Services.
28
-
An initial deposit of ${{deposit}} will be due prior to the commencement of the Services, and fees will be deducted from such deposit until it is exhausted.
29
-
Consultant will transmit an invoice to Client every two weeks, and Client will pay Consultant all amounts due within {{net_days}} days of receipt of such invoice.
27
+
{{#deposit}}An initial deposit of ${{deposit}} will be due prior to the commencement of the Services, and fees will be deducted from such deposit until it is exhausted.
28
+
{{/deposit}}Consultant will transmit an invoice to Client every two weeks, and Client will pay Consultant all amounts due within {{net_days}} days of receipt of such invoice.
30
29
Late payments shall be subject to a late payment fee of {{late_fee}} of the amount due.
0 commit comments