-
-
Notifications
You must be signed in to change notification settings - Fork 6
CLI
Sean Molenaar edited this page Oct 28, 2016
·
5 revisions
Of course you love to use a CLI, otherwise you'd be using apiary.
The following options can be used:
-f Specifies the file to parse.
This one is the only one that's actually required. What good is a parser without stuff to parse right?
-t Specifies the template to use.
You can read more about this on the template page
-s Sort displayed values
Takes one of the following options:
- All
- None
- Structures <- MSON Structures defined to be used in
# Data structures
- Webservices <- API Blueprint calls them resources. Basically sorts by all elements in a
# group <key>
-i Specifies an image to display in the header.
-c Specifies a CSS file to include (value is put in a link element without checking).
-j Specifies a JS file to include (value is put in a script element without checking).
-h Displays this text.