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

tyr-cli

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tyr-cli

A command line interface for hammer-io.

  • 0.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by1100%
Maintainers
3
Weekly downloads
 
Created
Source

Build Status codecov npm version FOSSA Status Gitter chat

tyr

A CLI tool to scaffold Node.js microservice applications with DevOps capabilities. It takes an opinionated approach, meaning we've done the homework and start you off with what we think are the best tools for a small team creating a new open-source project. Upon running the CLI, it will ask you a series of questions and use the answers to do the following:

  • generate a new Node.js project,
  • add testing, web, and database frameworks,
  • initialize and push the code to a new GitHub repository,
  • establish a continuous integration environment,
  • build a container for the code, and
  • deploy the app container to a cloud service.

The goal is to save you time and headaches and get you started developing code faster.

Getting Started

Prerequisites

Before you can use Tyr, you need to make sure you've done the following:

  1. Create a GitHub account. At this current stage of development, GitHub is the default version control platform for storing and managing your code.
  2. Ensure that you linked your TravisCI account to your GitHub account.
  3. Create a Heroku account. At this current stage of development, Heroku is the default web hosting service.
  4. After creating a Heroku account, find your API key here. Make sure to copy it as you'll need it to sign in to Heroku.

Installation

npm install --global tyr-cli

Usage

tyr [OPTIONS]

Options:

  • -V, --version output the version number
  • --config <file> configure project from configuration file
  • --logfile <file> the filepath that logs will be written to
  • -h, --help output usage information

Configuration File

Project Configurations

NameRequiredNote
projectNameYesMust be a valid directory name and cannot be a directory that already exists.
descriptionYes
versionNoMust match (number)(.number)*
authorNoFor multiple authors, use comma separated values
licenseNo

Tooling Choices

NameRequiredDescriptionValid Choices
ciYesThe Continuous Integration Tool you want to use<None>, TravisCI
containerizationYesThe Containerization tool you want to use<None>, Docker
deploymentYesThe deployment tool you want to use<None>, Heroku
sourceControlYesThe source control tool you want to use<None>, GitHub
webYesThe web framework you want to use<None>, ExpressJS
testYesThe test framework you want to use<None>, Mocha
ormYesThe Object-relational Mapping framework you want to use<None>, Sequelize
  • If Source Control Choice is <None>, then CI Choice, Containerization Choice, and Deployment Choice must also be <None>.

  • If CI Choice is <None>, then Containerization Choice and Deployment Choice must also be <None>.

  • If Containerization Choice is <None>, then Deployment Choice must also be none.

File Format

{
  projectConfigurations:
    {
      projectName: '{project name}',
      description: '{project description}',
      version: '{version number}',
      author: ['author1', 'author2', ...],
      license: '{license}'
    },
  toolingConfigurations:
    {
      sourceControl: '{source control choice}',
      ci: '{ci choice}',
      containerization: '{containerization choice}',
      deployment: '{deployment choice}',
      web: '{web framework choice}',
      test: '{test framework choice}',
      orm: '{orm framework choice}'
    }
}

Contributing

Please see our Contributing Guide for contribution guidelines.

License

FOSSA Status

Security Information Management Policy

In order to orchestrate the various third party applications for your project, we will periodically ask for your username and password to these applications. To find out more about how we use these credentials and what steps we are taking to keep your information safe, please read the Security Information Management Policy.

Keywords

FAQs

Package last updated on 05 Apr 2018

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