sh-keygen -t rsa -b 2048 -m PEM -f host.key - Setup the ssh host.key
node index.js - run the application
- exit - Exit the CLI
- help - Show a list of all available commands and their descriptions
- hours - Get your current hours amount
- leaderboard - Show the leaderboard of users with the most hours
- news - Show the latest news from the orgs
- pipes - Get your current pipes amount
- projects - List all your projects
- shop - List all shop items
- Create a file in the commands folder
.jsgt;.js
- In the file, write
module.exports = {
'name': 'COMMAND_NAME',
'description': 'COMMAND_DESCRIPTION',
async execute(stream, auth_token, refreshToken) {
// Put the command functionality here
}
}
- Add command to the Commands list in README.md