Skip to content

package to enable basyt entities in command line applications

Notifications You must be signed in to change notification settings

ytlabs/basyt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

basyt-cli

This package enables basyt entities to be used in command line applications. You still need adapter package i.e. basyt-mongo-collection to be installed besides basyt-cli.

Installation

$ npm install basyt-cli
$ npm install basyt-mongodb-collection

Quick Start

var basytCli = require('basyt-cli'),
    config = require('./config');

var basyt = new basytCli();

// you can access collections over basyt instances collections property.
// for instance, to access 'project' collection
basyt.collections['project'].read({name: 'sample project'}).then( /* ... */ );

About

package to enable basyt entities in command line applications

Resources

Stars

Watchers

Forks

Packages

No packages published