File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2727
2828    Usage: 
2929      api-mock <path to blueprint>  [OPTIONS] 
30-      
30+ 
3131    Example: 
3232      api-mock ./apiary.md --port 3000 
33-      
33+ 
3434    Options: 
35-       --port, -p        Set which port api-mock should listen on. 
35+       --port, -p           Set which port api-mock should listen on. 
3636                                                                     [default: 3000] 
37-       --ssl-enable, -s  Enable SSL support. 
37+       --ssl-enable, -s     Enable SSL support. 
3838                                                                    [default: false] 
39-       --ssl-port        Set which port api-mock should listen on for SSL traffic. 
39+       --ssl-port           Set which port api-mock should listen on for SSL traffic. 
4040                                                                     [default: 3080] 
41-       --ssl-host        Set hostname for SSL server. 
41+       --ssl-host           Set hostname for SSL server. 
4242
43-       --ssl-cert        Set path for SSL certificate file. 
43+       --ssl-cert           Set path for SSL certificate file. 
4444                                                           [default: "./server.crt"] 
45-       --ssl-key         Set path for SSL key file. 
45+       --ssl-key            Set path for SSL key file. 
4646                                                           [default: "./server.key"] 
4747      --cors-disable, -c  Disable CORS headers. 
4848                                                                    [default: false] 
49+       --color, -k         Colorize cli output. 
50+                                                                      [default: true] 
4951      --help              Show usage information. 
5052
5153      --version           Show version number. 
Original file line number Diff line number Diff line change 11{
22  "name" : " api-mock"  ,
3-   "version" : " 0.0.12 "  ,
3+   "version" : " 0.1.0 "  ,
44  "description" : " A mock server generated from your API Blueprint."  ,
55  "author" : 
" Evan Cordell <[email protected] >" ,
 66  "main" : " lib/api-mock.js"  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments