0.4.91 • Published 4 years ago
@iac-factory/lambda-factory v0.4.91
lambda-factory - CLI Utility
Anything with a ⓘ is a dropdown containing
additional, contextual information.
Quick-Start
Requirements
node ~> +14.17.3npm ~> +6.13.6
npx lambda-factory@latest --helpLocal Development Setup
npm installUsage
Disclaimer
CLI utilities can be incredibly dangerous.
stdin,os.exec, and shells are easy to interface and therefore exploit.- Having the ability to issue
os.execor interfacestdinalways makes the application dangerous. - Protecting against harmful bugs or malicious actors isn't difficult if
the application's logic is handled correctly, and precautions are made
to disable
REPLs(but allowingSIGKILL,SIGSTOP, and other user-controlled signals).
A language's packaging utility (npx, pep, cargo, etc.) extends some amazing capabilities,
but should never have the opportunity to be taken advantage of (Development Supply-Chain Attacks).
Ensure due diligence in writing cli applications, regardless of involvements with the following project(s).
Please note that the following section may not always reflect current cli-options.
| Description | Global (npx) | System | Local |
|---|---|---|---|
| Banner + Conditional Setup | npx lambda-factory | lambda-factory | npm run start |
| Display Help Information | npx lambda-factory --help | lambda-factory --help | npm run start -- --help |
| Forcefully Prompt for System Setup | npx lambda-factory setup | lambda-factory setup | npm run start -- setup |
| Create a Jira Story | npx lambda-factory create | lambda-factory create | npm run start -- create |