Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blacktide-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blacktide-cli

Blacktide cli

  • 1.0.0-beta.1
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Blacktide CLI

Provides a set of tools to work with a blacktide project

Notes

Blacktide notes:
  • No support for static content
  • Built with Express, use it: blacktide.app
  • When using Mongoose, use it: blacktide.db
Generators notes:
  • All commands overwrite everything
  • All commands are executed in the cwd
  • Names used in the generators will remain as typed ;)
  • Check mongoose for info about the database and models

Install

$ npm i -g blacktide-cli

Structure of the generated application:

app_folder

	services // holds all the services.
		index.js // entry point for application services, holds the / route

	models // if using mongoose

	conf // holds all .json files for each environment

	test // comes with very basic testing.

	package.json // custom tailored for the application

Usage

Help

Long version

$ blacktide --help

Output:

$ blacktide --help

  Usage: blacktide [options] [command]


  Commands:

    help|h [what]             Shows general and command help
    generate|g <what> [name]  Generates something

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

------------------------------------------------

  Blacktide cli v1.0.0


  Blacktide notes:

    * No support for static content
    * Built with Express, use it: blacktide.app
    * When using Mongoose, use it: blacktide.db

  generate:

    $ blacktide generate app profiles
    $ blacktide generate service profile
    $ blacktide generate model profile
    $ blacktide generate conf development
Short version

$ blacktide help

Generate

$ blacktide help generate

Generators

$ blacktide generate app myapp

What it does:

  • Creates an app, with all the folders, config, etc
  • Ask questions about what do you want

$ blacktide generate service myservice

What it does:

  • Creates a service inside the generated app structure
  • If you have mongoose enabled it asks to generate a model

$ blacktide generate model mymodel

What it does:

  • Creates a model inside the generated app structure
  • Very simple, no questions ask

$ blacktide generate conf development

What it does:

  • Creates or overwrites a conf inside the generated app structure
  • Useful to "edit" the most basic stuff

Tests

No tests so far..

License

MIT

Keywords

FAQs

Package last updated on 29 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc