@codealpha/util

POC devops CLI helper

Usage no npm install needed!

<script type="module">
  import codealphaUtil from 'https://cdn.skypack.dev/@codealpha/util';
</script>

README

Util

CLI for useful scripts used during a day in the life.

Installation

npm install --save @codealpha/util

bin files added to your project under ./node_modules/.bin/

  1. ca-cli
  • cli program used to call functions provided in ca-fnc
  1. ca-fnc
  • functions that can be sourced as needed.

Usage

package.json

  "scripts": {
    "start": "node index.js",
    "ca-cli": "ca-cli",
    "ca-cli":"node_modules/.bin/ca-cli",
    "ca-cli":"node_modules/@codealpha/util/bin/ca-cli",
  }
npm run ca-cli util_ts

bash

    . ./node_modules/.bin/ca-fnc; util_ts