1 | # Autocode
|
2 |
|
3 | [![Travis](https://img.shields.io/travis/ctate/autocode.svg)](https://travis-ci.org/ctate/autocode)
|
4 | [!(https://img.shields.io/travis/ctate/autocode.svg)](https://travis-ci.org/ctate/autocode)
|
5 |
|
6 | > spec-driven code generator
|
7 |
|
8 | # Table of Contents
|
9 |
|
10 | - [Install](#install)
|
11 | - [Generators](#projects)
|
12 | - [Documentation](#docs)
|
13 |
|
14 | <a name="install"></a>
|
15 |
|
16 | # Install
|
17 |
|
18 | Use `npm` to install Autocode:
|
19 |
|
20 | ```sh
|
21 | npm install autocode -g
|
22 | ```
|
23 |
|
24 | <a name="projects"></a>
|
25 |
|
26 | # Generators
|
27 |
|
28 | <table width="100%">
|
29 | <tr>
|
30 | <td>
|
31 | <a href="https://github.com/ctate/angular">
|
32 | <img width="50" src="https://rawgit.com/ctate/angular/master/.autocode/icon.svg" />
|
33 | </a>
|
34 | </td>
|
35 | <td>
|
36 | <div><b><a href="https://github.com/ctate/angular">ctate/angular</a></b></div>
|
37 | Generates an Angular app
|
38 | </div>
|
39 | </tr>
|
40 | <tr>
|
41 | <td>
|
42 | <a href="https://github.com/ctate/asciinema">
|
43 | <img width="50" src="https://rawgit.com/ctate/asciinema/master/.autocode/icon.svg" />
|
44 | </a>
|
45 | </td>
|
46 | <td>
|
47 | <div><b><a href="https://github.com/ctate/asciinema">ctate/asciinema</a></b></div>
|
48 | Generates an Asciicast
|
49 | </div>
|
50 | </tr>
|
51 | <tr>
|
52 | <td>
|
53 | <a href="https://github.com/ctate/backbone">
|
54 | <img width="50" src="https://rawgit.com/ctate/backbone/master/.autocode/icon.svg" />
|
55 | </a>
|
56 | </td>
|
57 | <td>
|
58 | <div><b><a href="https://github.com/ctate/backbone">ctate/backbone</a></b></div>
|
59 | Generates a Backbone app
|
60 | </div>
|
61 | </tr>
|
62 | <tr>
|
63 | <td>
|
64 | <a href="https://github.com/ctate/bower">
|
65 | <img width="50" src="https://rawgit.com/ctate/bower/master/.autocode/icon.svg" />
|
66 | </a>
|
67 | </td>
|
68 | <td>
|
69 | <div><b><a href="https://github.com/ctate/bower">ctate/bower</a></b></div>
|
70 | Generates Bower config and package files
|
71 | </div>
|
72 | </tr>
|
73 | <tr>
|
74 | <td>
|
75 | <a href="https://github.com/ctate/cocoapods">
|
76 | <img width="50" src="https://rawgit.com/ctate/cocoapods/master/.autocode/icon.svg" />
|
77 | </a>
|
78 | </td>
|
79 | <td>
|
80 | <div><b><a href="https://github.com/ctate/cocoapods">ctate/cocoapods</a></b></div>
|
81 | Generates a Podfile
|
82 | </div>
|
83 | </tr>
|
84 | <tr>
|
85 | <td>
|
86 | <a href="https://github.com/ctate/coffeescript">
|
87 | <img width="50" src="https://rawgit.com/ctate/coffeescript/master/.autocode/icon.svg" />
|
88 | </a>
|
89 | </td>
|
90 | <td>
|
91 | <div><b><a href="https://github.com/ctate/coffeescript">ctate/coffeescript</a></b></div>
|
92 | Transforms CoffeeScript into JavaScript
|
93 | </div>
|
94 | </tr>
|
95 | <tr>
|
96 | <td>
|
97 | <a href="https://github.com/ctate/composer">
|
98 | <img width="50" src="https://rawgit.com/ctate/composer/master/.autocode/icon.svg" />
|
99 | </a>
|
100 | </td>
|
101 | <td>
|
102 | <div><b><a href="https://github.com/ctate/composer">ctate/composer</a></b></div>
|
103 | Generates a Composer package file
|
104 | </div>
|
105 | </tr>
|
106 | <tr>
|
107 | <td>
|
108 | <a href="https://github.com/ctate/cordova">
|
109 | <img width="50" src="https://rawgit.com/ctate/cordova/master/.autocode/icon.svg" />
|
110 | </a>
|
111 | </td>
|
112 | <td>
|
113 | <div><b><a href="https://github.com/ctate/cordova">ctate/cordova</a></b></div>
|
114 | Generates a Cordova app
|
115 | </div>
|
116 | </tr>
|
117 | <tr>
|
118 | <td>
|
119 | <a href="https://github.com/ctate/django">
|
120 | <img width="50" src="https://rawgit.com/ctate/django/master/.autocode/icon.svg" />
|
121 | </a>
|
122 | </td>
|
123 | <td>
|
124 | <div><b><a href="https://github.com/ctate/django">ctate/django</a></b></div>
|
125 | Generates a Django app
|
126 | </div>
|
127 | </tr>
|
128 | <tr>
|
129 | <td>
|
130 | <a href="https://github.com/ctate/docker">
|
131 | <img width="50" src="https://rawgit.com/ctate/docker/master/.autocode/icon.svg" />
|
132 | </a>
|
133 | </td>
|
134 | <td>
|
135 | <div><b><a href="https://github.com/ctate/docker">ctate/docker</a></b></div>
|
136 | Generates a Dockerfile
|
137 | </div>
|
138 | </tr>
|
139 | <tr>
|
140 | <td>
|
141 | <a href="https://github.com/ctate/editorconfig">
|
142 | <img width="50" src="https://rawgit.com/ctate/editorconfig/master/.autocode/icon.svg" />
|
143 | </a>
|
144 | </td>
|
145 | <td>
|
146 | <div><b><a href="https://github.com/ctate/editorconfig">ctate/editorconfig</a></b></div>
|
147 | Generates an .editorconfig file
|
148 | </div>
|
149 | </tr>
|
150 | <tr>
|
151 | <td>
|
152 | <a href="https://github.com/ctate/electron">
|
153 | <img width="50" src="https://rawgit.com/ctate/electron/master/.autocode/icon.svg" />
|
154 | </a>
|
155 | </td>
|
156 | <td>
|
157 | <div><b><a href="https://github.com/ctate/electron">ctate/electron</a></b></div>
|
158 | Generates an Electron app
|
159 | </div>
|
160 | </tr>
|
161 | <tr>
|
162 | <td>
|
163 | <a href="https://github.com/ctate/eslint">
|
164 | <img width="50" src="https://rawgit.com/ctate/eslint/master/.autocode/icon.svg" />
|
165 | </a>
|
166 | </td>
|
167 | <td>
|
168 | <div><b><a href="https://github.com/ctate/eslint">ctate/eslint</a></b></div>
|
169 | Generates an .eslintrc file
|
170 | </div>
|
171 | </tr>
|
172 | <tr>
|
173 | <td>
|
174 | <a href="https://github.com/ctate/express">
|
175 | <img width="50" src="https://rawgit.com/ctate/express/master/.autocode/icon.svg" />
|
176 | </a>
|
177 | </td>
|
178 | <td>
|
179 | <div><b><a href="https://github.com/ctate/express">ctate/express</a></b></div>
|
180 | Generates an Express app
|
181 | </div>
|
182 | </tr>
|
183 | <tr>
|
184 | <td>
|
185 | <a href="https://github.com/ctate/feathers">
|
186 | <img width="50" src="https://rawgit.com/ctate/feathers/master/.autocode/icon.svg" />
|
187 | </a>
|
188 | </td>
|
189 | <td>
|
190 | <div><b><a href="https://github.com/ctate/feathers">ctate/feathers</a></b></div>
|
191 | Generates a Feathers app
|
192 | </div>
|
193 | </tr>
|
194 | <tr>
|
195 | <td>
|
196 | <a href="https://github.com/ctate/git">
|
197 | <img width="50" src="https://rawgit.com/ctate/git/master/.autocode/icon.svg" />
|
198 | </a>
|
199 | </td>
|
200 | <td>
|
201 | <div><b><a href="https://github.com/ctate/git">ctate/git</a></b></div>
|
202 | Generates `.gitignore` and `.gitkeep` files
|
203 | </div>
|
204 | </tr>
|
205 | <tr>
|
206 | <td>
|
207 | <a href="https://github.com/ctate/google-analytics">
|
208 | <img width="50" src="https://rawgit.com/ctate/google-analytics/master/.autocode/icon.svg" />
|
209 | </a>
|
210 | </td>
|
211 | <td>
|
212 | <div><b><a href="https://github.com/ctate/google-analytics">ctate/google-analytics</a></b></div>
|
213 | Generates tracking code for Google Analytics
|
214 | </div>
|
215 | </tr>
|
216 | <tr>
|
217 | <td>
|
218 | <a href="https://github.com/ctate/grunt">
|
219 | <img width="50" src="https://rawgit.com/ctate/grunt/master/.autocode/icon.svg" />
|
220 | </a>
|
221 | </td>
|
222 | <td>
|
223 | <div><b><a href="https://github.com/ctate/grunt">ctate/grunt</a></b></div>
|
224 | Generates a Gruntfile
|
225 | </div>
|
226 | </tr>
|
227 | <tr>
|
228 | <td>
|
229 | <a href="https://github.com/ctate/handlebars">
|
230 | <img width="50" src="https://rawgit.com/ctate/handlebars/master/.autocode/icon.svg" />
|
231 | </a>
|
232 | </td>
|
233 | <td>
|
234 | <div><b><a href="https://github.com/ctate/handlebars">ctate/handlebars</a></b></div>
|
235 | Renders Handlebars templates for generators
|
236 | </div>
|
237 | </tr>
|
238 | <tr>
|
239 | <td>
|
240 | <a href="https://github.com/ctate/hosts">
|
241 | <img width="50" src="https://rawgit.com/ctate/hosts/master/.autocode/icon.svg" />
|
242 | </a>
|
243 | </td>
|
244 | <td>
|
245 | <div><b><a href="https://github.com/ctate/hosts">ctate/hosts</a></b></div>
|
246 | Generates a HOSTS file
|
247 | </div>
|
248 | </tr>
|
249 | <tr>
|
250 | <td>
|
251 | <a href="https://github.com/ctate/httpd">
|
252 | <img width="50" src="https://rawgit.com/ctate/httpd/master/.autocode/icon.svg" />
|
253 | </a>
|
254 | </td>
|
255 | <td>
|
256 | <div><b><a href="https://github.com/ctate/httpd">ctate/httpd</a></b></div>
|
257 | Generates a `apache.conf` file
|
258 | </div>
|
259 | </tr>
|
260 | <tr>
|
261 | <td>
|
262 | <a href="https://github.com/ctate/ini">
|
263 | <img width="50" src="https://rawgit.com/ctate/ini/master/.autocode/icon.svg" />
|
264 | </a>
|
265 | </td>
|
266 | <td>
|
267 | <div><b><a href="https://github.com/ctate/ini">ctate/ini</a></b></div>
|
268 | Renders INI files for generators
|
269 | </div>
|
270 | </tr>
|
271 | <tr>
|
272 | <td>
|
273 | <a href="https://github.com/ctate/jade">
|
274 | <img width="50" src="https://rawgit.com/ctate/jade/master/.autocode/icon.svg" />
|
275 | </a>
|
276 | </td>
|
277 | <td>
|
278 | <div><b><a href="https://github.com/ctate/jade">ctate/jade</a></b></div>
|
279 | Renders Jade templates for generators
|
280 | </div>
|
281 | </tr>
|
282 | <tr>
|
283 | <td>
|
284 | <a href="https://github.com/ctate/javascript">
|
285 | <img width="50" src="https://rawgit.com/ctate/javascript/master/.autocode/icon.svg" />
|
286 | <a/>
|
287 | </td>
|
288 | <td>
|
289 | <div><b><a href="https://github.com/ctate/javascript">ctate/javascript</a></b></div>
|
290 | Transforms JavaScript into beautiful JavaScript
|
291 | </div>
|
292 | </tr>
|
293 | <tr>
|
294 | <td>
|
295 | <a href="https://github.com/ctate/jshint">
|
296 | <img width="50" src="https://rawgit.com/ctate/jshint/master/.autocode/icon.svg" />
|
297 | </a>
|
298 | </td>
|
299 | <td>
|
300 | <div><b><a href="https://github.com/ctate/jshint">ctate/jshint</a></b></div>
|
301 | Generates a `.jshintrc` file
|
302 | </div>
|
303 | </tr>
|
304 | <tr>
|
305 | <td>
|
306 | <a href="https://github.com/ctate/json">
|
307 | <img width="50" src="https://rawgit.com/ctate/json/master/.autocode/icon.svg" />
|
308 | </a>
|
309 | </td>
|
310 | <td>
|
311 | <div><b><a href="https://github.com/ctate/json">ctate/json</a></b></div>
|
312 | Renders JSON files for generators
|
313 | </div>
|
314 | </tr>
|
315 | <tr>
|
316 | <td>
|
317 | <a href="https://github.com/ctate/laravel">
|
318 | <img width="50" src="https://rawgit.com/ctate/laravel/master/.autocode/icon.svg" />
|
319 | </a>
|
320 | </td>
|
321 | <td>
|
322 | <div><b><a href="https://github.com/ctate/laravel">ctate/laravel</a></b></div>
|
323 | Generates a Laravel app
|
324 | </div>
|
325 | </tr>
|
326 | <tr>
|
327 | <td>
|
328 | <a href="https://github.com/ctate/license">
|
329 | <img width="50" src="https://rawgit.com/ctate/license/master/.autocode/icon.svg" />
|
330 | </a>
|
331 | </td>
|
332 | <td>
|
333 | <div><b><a href="https://github.com/ctate/license">ctate/license</a></b></div>
|
334 | Generates a LICENSE file
|
335 | </div>
|
336 | </tr>
|
337 | <tr>
|
338 | <td>
|
339 | <a href="https://github.com/ctate/martini">
|
340 | <img width="50" src="https://rawgit.com/ctate/martini/master/.autocode/icon.svg" />
|
341 | </a>
|
342 | </td>
|
343 | <td>
|
344 | <div><b><a href="https://github.com/ctate/martini">ctate/martini</a></b></div>
|
345 | Generates a Martini app
|
346 | </div>
|
347 | </tr>
|
348 | <tr>
|
349 | <td>
|
350 | <a href="https://github.com/ctate/model">
|
351 | <img width="50" src="https://rawgit.com/ctate/model/master/.autocode/icon.svg" />
|
352 | </a>
|
353 | </td>
|
354 | <td>
|
355 | <div><b><a href="https://github.com/ctate/model">ctate/model</a></b></div>
|
356 | Model Schema
|
357 | </div>
|
358 | </tr>
|
359 | <tr>
|
360 | <td>
|
361 | <a href="https://github.com/ctate/npm">
|
362 | <img width="50" src="https://rawgit.com/ctate/npm/master/.autocode/icon.svg" />
|
363 | </a>
|
364 | </td>
|
365 | <td>
|
366 | <div><b><a href="https://github.com/ctate/npm">ctate/npm</a></b></div>
|
367 | Generates `package.json` and `.npmignore` files
|
368 | </div>
|
369 | </tr>
|
370 | <tr>
|
371 | <td>
|
372 | <a href="https://github.com/ctate/php">
|
373 | <img width="50" src="https://rawgit.com/ctate/php/master/.autocode/icon.svg" />
|
374 | </a>
|
375 | </td>
|
376 | <td>
|
377 | <div><b><a href="https://github.com/ctate/php">ctate/php</a></b></div>
|
378 | Generates `php.ini` files
|
379 | </div>
|
380 | </tr>
|
381 | <tr>
|
382 | <td>
|
383 | <a href="https://github.com/ctate/pip">
|
384 | <img width="50" src="https://rawgit.com/ctate/pip/master/.autocode/icon.svg" />
|
385 | </a>
|
386 | </td>
|
387 | <td>
|
388 | <div><b><a href="https://github.com/ctate/pip">ctate/pip</a></b></div>
|
389 | Generates `requirements.txt` files
|
390 | </div>
|
391 | </tr>
|
392 | <tr>
|
393 | <td>
|
394 | <a href="https://github.com/ctate/rails">
|
395 | <img width="50" src="https://rawgit.com/ctate/rails/master/.autocode/icon.svg" />
|
396 | </a>
|
397 | </td>
|
398 | <td>
|
399 | <div><b><a href="https://github.com/ctate/rails">ctate/rails</a></b></div>
|
400 | Generates a Rails app
|
401 | </div>
|
402 | </tr>
|
403 | <tr>
|
404 | <td>
|
405 | <a href="https://github.com/ctate/raml">
|
406 | <img width="50" src="https://rawgit.com/ctate/raml/master/.autocode/icon.svg" />
|
407 | </a>
|
408 | </td>
|
409 | <td>
|
410 | <div><b><a href="https://github.com/ctate/raml">ctate/raml</a></b></div>
|
411 | Schemas for RAML
|
412 | </div>
|
413 | </tr>
|
414 | <tr>
|
415 | <td>
|
416 | <a href="https://github.com/ctate/redis">
|
417 | <img width="50" src="https://rawgit.com/ctate/redis/master/.autocode/icon.svg" />
|
418 | </a>
|
419 | </td>
|
420 | <td>
|
421 | <div><b><a href="https://github.com/ctate/redis">ctate/redis</a></b></div>
|
422 | Generates a `redis.conf` file
|
423 | </div>
|
424 | </tr>
|
425 | <tr>
|
426 | <td>
|
427 | <a href="https://github.com/ctate/rubygems">
|
428 | <img width="50" src="https://rawgit.com/ctate/rubygems/master/.autocode/icon.svg" />
|
429 | </a>
|
430 | </td>
|
431 | <td>
|
432 | <div><b><a href="https://github.com/ctate/rubygems">ctate/rubygems</a></b></div>
|
433 | Generates a `Gemfile`
|
434 | </div>
|
435 | </tr>
|
436 | <tr>
|
437 | <td>
|
438 | <a href="https://github.com/ctate/sequelize">
|
439 | <img width="50" src="https://rawgit.com/ctate/sequelize/master/.autocode/icon.svg" />
|
440 | </a>
|
441 | </td>
|
442 | <td>
|
443 | <div><b><a href="https://github.com/ctate/sequelize">ctate/sequelize</a></b></div>
|
444 | Generates models for Sequelize
|
445 | </div>
|
446 | </tr>
|
447 | <tr>
|
448 | <td>
|
449 | <a href="https://github.com/ctate/swagger">
|
450 | <img width="50" src="https://rawgit.com/ctate/swagger/master/.autocode/icon.svg" />
|
451 | </a>
|
452 | </td>
|
453 | <td>
|
454 | <div><b><a href="https://github.com/ctate/swagger">ctate/swagger</a></b></div>
|
455 | Schemas for Swagger
|
456 | </div>
|
457 | </tr>
|
458 | <tr>
|
459 | <td>
|
460 | <a href="https://github.com/ctate/travis">
|
461 | <img width="50" src="https://rawgit.com/ctate/travis/master/.autocode/icon.svg" />
|
462 | </a>
|
463 | </td>
|
464 | <td>
|
465 | <div><b><a href="https://github.com/ctate/travis">ctate/travis</a></b></div>
|
466 | Generates a `.travis.yml` file
|
467 | </div>
|
468 | </tr>
|
469 | <tr>
|
470 | <td>
|
471 | <a href="https://github.com/ctate/vagrant">
|
472 | <img width="50" src="https://rawgit.com/ctate/vagrant/master/.autocode/icon.svg" />
|
473 | </a>
|
474 | </td>
|
475 | <td>
|
476 | <div><b><a href="https://github.com/ctate/vagrant">ctate/vagrant</a></b></div>
|
477 | Generates a `Vagrantfile`
|
478 | </div>
|
479 | </tr>
|
480 | <tr>
|
481 | <td>
|
482 | <a href="https://github.com/ctate/watchman">
|
483 | <img width="50" src="https://rawgit.com/ctate/watchman/master/.autocode/icon.svg" />
|
484 | </a>
|
485 | </td>
|
486 | <td>
|
487 | <div><b><a href="https://github.com/ctate/watchman">ctate/watchman</a></b></div>
|
488 | Generates a `.watchmanconfig` file
|
489 | </div>
|
490 | </tr>
|
491 | </table>
|
492 |
|
493 | <a name="docs"></a>
|
494 |
|
495 | # Documentation
|
496 |
|
497 | View Autocode's Official Documentation here:
|
498 |
|
499 | [https://autocode.readme.io](https://autocode.readme.io)
|
500 |
|