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

@capraconsulting/cals-cli

Package Overview
Dependencies
Maintainers
14
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capraconsulting/cals-cli

CLI for repeatable tasks in CALS

  • 1.12.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-13.05%
Maintainers
14
Weekly downloads
 
Created
Source

cals-cli

Build Status

Getting started

Make sure you have a recent version of Node.js. E.g. by using https://github.com/creationix/nvm

npx @capraconsulting/cals-cli --help

It is recommended to use npx over global install to ensure you always run the latest version. If you install it globally remember to update it before running.

Configuration

You need to create ~/.cals-config.json and you can use this as a template:

{
  "definitionFile": "/path/to/resources-definition/resources.yaml"
}

The definitionFile should point to resources.yaml where you have locally checked out https://github.com/capralifecycle/resources-definition.

As the CLI uses that file for lots of its operations, you must remember to keep it up to date with the remote before using the CLI.

Building locally

Clone this repo.

Use NPM to link this repo as a global package:

npm install
npm run build
npm link

Run the cli from any terminal/folder:

cals

Rebuild using npm run build.

Contributing

This project uses semantic release to automate releases and follows Git commit guidelines from the Angular project.

Goals of CLI

  • Provide an uniform way of consistently doing repeatable CALS tasks
  • Provide simple guidelines to improve the experience for developers
  • A tool that everybody uses and gets ownership of
  • Automate repeatable CALS tasks as we go

Ideas and future work

  • Automate onboarding of people
    • Granting access to various resources: AWS, GitHub, Confluence, JIRA, Slack, ...
  • Automate offboarding of people
  • Automate generation of new projects/resources
    • Creating GitHub repos, giving permissions etc
    • Slack channels
    • AWS account and structure
    • Checklist for manual processes
  • AWS infrastructure management, e.g. scripts such as https://github.com/capralifecycle/rvr-aws-infrastructure/blob/master/rvr/create-stack.sh
    • cals aws ...

Snyk management

https://snyk.docs.apiary.io/reference/projects

  • Automatically set up project in Snyk
  • Report of which repos are in Snyk and which is not
  • Detect active vs disabled projects in Snyk (no way through API now?)
  • Report issues in Snyk grouped by our projects

FAQs

Package last updated on 25 Jan 2020

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