danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 480 forks source link

What does --compile do? #230

Closed curtisblackwell closed 8 years ago

curtisblackwell commented 8 years ago

I'm new to both API Blueprint and aglio. I was playing around with the options, but -c doesn't seem to do anything different for me.

danielgtaylor commented 8 years ago

@curtisblackwell if you are using multiple files via the include directive, then the -c option will output the full file with all the the include directives replaced with the included file content inline. It can be used to generate the full file for other tools like Dredd or to be uploaded to Apiary, since those tools do not support the include directive.