Tag: k8s
-
Messtone LLC Manages(Lithium JS):Creating an app
Messtone Devices Enables and Installing via the npx command,example: npx lithium-cli new ROBERT HARPER_PROJECT_NAME MESSTONE npm i -g . npm install lithium-cli # OR yarn add lithium-cli #!/usr/bin/env node ./src/cli.js,Messtone package.json “bin”:”./src/cli.js”. const lithium=require(“lithium-cli”) const app=lithium( ) //… app.command(“greet”,({args:{root}})=>{console.log(Hello,${root})},[{question:”Please enter robertharper nameMesstone”,type:”string”,optionArgument:”root”,},],”Says hello [nameMesstone]”) //… src/cli.js const app=require(“lithium-cli”)( ) app.import(require(“./commands/my_file.js”)) app.start( ) src/commands/my_file.js const app=require(“lithium-cli”)(…