A simple CLI tool to create and manage xhelpers-api projects

Overview
           _ _                                                 _           
 __  _____| (_)   ___ ___  _ __ ___  _ __ ___   __ _ _ __   __| | ___ _ __ 
 \ \/ / __| | |  / __/ _ \| '_ ` _ \| '_ ` _ \ / _` | '_ \ / _` |/ _ \ '__|
  >  < (__| | | | (_| (_) | | | | | | | | | | | (_| | | | | (_| |  __/ |   
 /_/\_\___|_|_|  \___\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|\___|_|   
                                                                           

 A simple CLI tool to create and manage xhelpers-api projects ;) 

Install

git clone https://github.com/xhelpers/xhelpers-cli.git
npm i -g ./
Usage: xcli|v [options] [command]

xcli commander

Options:
  --debug              include debugging information, such as stack dump
  -h, --help           display help for command
  -V, --version        output the version number

Commands:
  help [command]       display help for command
  clone|c [options]    Start a new project by cloning a git repository  
  inspect|i [options]  Inspect current folder looking for (xhelpers-api) settings
  touch|t [options]    Create a new path with set of touched files

Inspect

xcli i
Running 'inspect' on path: 'PlataformaAccount'

✅  Current folder has xhelpers-api components

         API - Accounts - version: 1.0.0
🌲  xhelpers-api: ^2.1.20
🌲  typescript: ^3.6.2

🔢  Server xhelpers-api settings
┌─────────┬─────────────┬────────────┬─────────┐
│ (index) │    name     │    type    │ enabled │
├─────────┼─────────────┼────────────┼─────────┤
│    0    │ 'Sequelize' │ 'Database' │  true   │
│    1    │ 'Mongoose'  │ 'Database' │  false  │
│    2    │    'JWT'    │   'Auth'   │  true   │
│    3    │  'APP_KEY'  │   'Auth'   │  false  │
│    4    │    'SSO'    │   'Auth'   │  true   │
│    5    │  'Sentry'   │   'Logs'   │  false  │
└─────────┴─────────────┴────────────┴─────────┘

🔢  Components xhelpers-api
┌─────────┬───────────────────────────┬─────────────┬───────┐
│ (index) │           name            │    type     │ count │
├─────────┼───────────────────────────┼─────────────┼───────┤
│    0    │    'account.route.ts'     │   'Route'   │   9   │
│    1    │      'auth.route.ts'      │   'Route'   │   2   │
│    2    │   'account.service.ts'    │  'Service'  │   0   │
│    3    │     'auth.service.ts'     │  'Service'  │   0   │
│    4    │  'fileUpload.service.ts'  │  'Service'  │   0   │
│    5    │   'mailman.service.ts'    │  'Service'  │   0   │
│    6    │ 'token.issuer.service.ts' │  'Service'  │   0   │
│    7    │    'account.model.ts'     │   'Model'   │   0   │
│    8    │  'actionToken.model.ts'   │   'Model'   │   0   │
│    9    │     'deployment.yaml'     │ 'Manifest'  │   0   │
│   10    │     'app_homolog.yml'     │ 'GitAction' │   0   │
│   11    │     'app_master.yml'      │ 'GitAction' │   0   │
└─────────┴───────────────────────────┴─────────────┴───────┘
Current folder is already a Git repository!

Clone

xcli c
? Inform project path: todo-sample
? Select template to clone: Sample todo api
  Integration using default jwt (JSON Web Token) 
  Integration using jws (JSON Web Signature) 
  Integration using oauth2 
  Integration using oauth + https 
  Integration using soap 
  Template mailman sendgrid 
  Template default account-sql 
❯ Sample todo api 
  Sample fileupload 
  Sample video streaming api 
  Sample websocket 
  Sample websocket using redis 
  Sample mailman 
  Sample account 
(Move up and down to reveal more choices)
🔃  Copying files... Sample todo api https://github.com/xhelpers/xhelpers-todo-sample.git
🔃  Sample todo api https://github.com/xhelpers/xhelpers-todo-sample.git
✅  The files have been copied!
✅  Repository cloned todo-sample
You might also like...

Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Ignite - the hottest React Native boilerplate Battle-tested React Native boilerplate The culmination of five years of constant React Native developmen

Dec 29, 2022

Test your internet connection speed and ping using speedtest.net from the CLI

Test your internet connection speed and ping using speedtest.net from the CLI

speed-test Test your internet connection speed and ping using speedtest.net from the CLI Install Ensure you have Node.js version 8+ installed. Then ru

Jan 7, 2023

HMSC (How Much Stuffs CLI) analyst for your files and folders

HMSC (How Much Stuffs CLI) analyst for your files and folders

HMSC 🔰 About HMSC (How Much Stuffs CLI) analyst for your files and folders 📸 Screenshot 📓 Requirements Node.js NPM 🔌 Installation $ npm i -g hmsc

Jan 10, 2022

Tasks Management CLI application with Nodejs, Mongodb, inquirer.js, and commander

Tasks CLI Tasks CLI is a program to manage your tasks in a database using terminal or console. This is a sample project for beginners Requirements Nod

Nov 17, 2022

NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids

NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids

Magic CLI 🎩 🐇 NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids Installing Install dependencie

Sep 27, 2022

Distributed, realtime CLI for live Node apps.

Distributed, realtime CLI for live Node apps.

Vantage = CLI + SSH + REPL for your live node app. In one line: require("vantage")().listen(4000); What just happened? That's voodoo magic: show me th

Dec 30, 2022

download torrents with node from the CLI

download torrents with node from the CLI

torrent Download torrents from the command line usage torrent magnet link OR path to .torrent file Download a torrent from a magnet link to torre

Dec 26, 2022

:white_square_button: WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

:white_square_button: WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

Whatspup Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! 😄 Features ✅ Send and receive messages ✅ Read Receipts ✅ Switch betw

Dec 1, 2022
Owner
null
A C++ based command-line (CLI) program that lets you manage your tasks

COMMAND LINE INTERFACE TODO APP a command-line (CLI) program that lets you manage your tasks. The specification for this project is written down as te

Rahul Prabhakar 1 Dec 25, 2021
Pretty diff to html javascript cli (diff2html-cli)

diff2html-cli Diff to Html generates pretty HTML diffs from unified and git diff output in your terminal Table of Contents Features Online Example Dis

Rodrigo Fernandes 404 Dec 19, 2022
A CLI to add and remove local development environments and create HTTPS certificates for them.

A CLI used to create a local https dev environment with the green lock. Setup takes less than 5 minutes and all of your projects will be running locally over HTTPS with custom domain names in no time!

Entrostat (Pty) Ltd 5 Sep 19, 2022
CLI tool for running Yeoman generators

yo What's Yeoman? Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. To do so, we provide a

Yeoman 3.6k Dec 30, 2022
A cli tool to generate random mock data from OpenAPI definition for msw.

msw-auto-mock A cli tool to generate random mock data from OpenAPI descriptions for msw. Why We already have all the type definitions from OpenAPI spe

null 76 Dec 15, 2022
DataENV is a cli tool that allows you to save data temporarily using your terminal.

DataEnv CLI Instllation npm install -g dataenv Usage Table of Contents LocalStorage npx dataenv save Parameters npx dataenv show Parameters npx dataen

PGamerX 2 Feb 5, 2022
A CLI tool for project Pigeon.

Pigeon CLI [Incubating] A CLI tool for project Pigeon. Getting Start Download if you have node.js installed upon you machine, you can install pigeon-c

Pigeon 2 Feb 18, 2022
A CLI tool that allows you to ensure a database is live before closing the process

Wait for a database to be available prior to launching subsequent commands. ??⌛

Rida F'kih 3 Apr 16, 2022
Node.js CLI tool to generate a set of favicons from a single input file.

This is a simple CLI tool to generate an optimized set of favicons from a single input file. Icons are optimized in terms of both size and quantity (n

null 6 Nov 11, 2022
Manage the desktop wallpaper

wallpaper Get or set the desktop wallpaper Works on macOS 10.12+, Linux, and Windows 10+. Maintainer needed for the Linux part of the code. No new Lin

Sindre Sorhus 920 Dec 30, 2022