Installation
npm install -g devcli@latest
devcli init my-project
cd my-project
npm start
Verify Installation
devcli --version
# Expected output: devcli/2.4.1
Welcome to our documentation! This guide will help you get up and running quickly with our platform.
npm install -g devcli@latest
devcli init my-project
cd my-project
npm start
devcli --version
# Expected output: devcli/2.4.1
Create index.js:
const Dev = require('dev-sdk');
const app = new Dev.Application();
app.command('hello', () => {
console.log('Hello from Dev SDK!');
});
app.run();
Run your app:
npm run dev
# Type "hello"in the terminal