You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -v -X POST --data 'foo="bar"&bar="baz"''localhost:8080/foo/bar?a="1"&b="2"`
create simple command line interface (CLI)
varflatiron=require('flatiron'),app=flatiron.app;app.use(flatiron.plugins.cli,{dir: __dirname,usage: ['This is a basic flatiron cli application example!','','hello - say hello to somebody.']});app.cmd('hello',function(){app.prompt.get('name',function(err,result){app.log.info('hello '+result.name+'!');})})app.start();