mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
21 lines
480 B
JavaScript
Executable File
21 lines
480 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
let argv = require('minimist')(process.argv.slice(2));
|
|
|
|
if (argv.debug) process.env.DEBUG = '*';
|
|
|
|
let SUtils = require('../lib/classes/Utils');
|
|
SUtils = new SUtils();
|
|
|
|
let S = require('../lib/Serverless'),
|
|
serverless = new S({
|
|
servicePath: SUtils.findServicePath(process.cwd()),
|
|
interactive: typeof process.env.CI === 'undefined'
|
|
});
|
|
|
|
// serverless.init()
|
|
// .then(function(){
|
|
// serverless.runCommand(argv);
|
|
// });
|