danielgtaylor / aglio

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

Added optional -n command line flag for setting options.includePath #165

Closed peat closed 9 years ago

peat commented 9 years ago

Exposing includePath to the CLI so that Aglio can be more easily called from editor plugins, or other environments where the markup may be in temporary files outside of the default include path.

danielgtaylor commented 9 years ago

Nice, thanks for doing this! :+1:

danielgtaylor commented 9 years ago

@peat note I've renamed the parameter to --include-path for consistency, but yargs will still work if you pass --includePath. It's now released in version 2.1.0.