UNPKG

581 BJavaScriptView Raw
1#!/usr/bin/env node
2
3/* eslint-disable quotes */
4
5'use strict';
6
7const program = require('commander');
8
9program
10 .name('fun edge')
11 .description(
12 `Run your serverless application at edge (within local Link IoT Edge environment) for
13 quick development & testing.`)
14 .command('invoke', 'Invoke a function at edge once')
15 .command('start', 'Launch one local Link IoT Edge environment, or create one if none exist')
16 .command('stop', 'Stop the local Link IoT Edge environment');
17
18require('../lib/utils/command').registerCommandChecker(program);
19
20program.parse(process.argv);