New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@capraconsulting/cals-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capraconsulting/cals-cli

CLI for repeatable tasks in CALS

2.16.3
Version published
Maintainers
12
Created

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.

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 13 Nov 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