ts-anglo-helper
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
guidohollander 0979bf94f9
eslint
3 years ago
.husky typescript-eslint-prettier 3 years ago
.vscode typescript-eslint-prettier 3 years ago
src eslint 3 years ago
typings-custom typescript-eslint-prettier 3 years ago
.eslintrc typescript-eslint-prettier 3 years ago
.eslintrc copy.js eslint 3 years ago
.eslintrc.cjs eslint 3 years ago
.gitignore typescript-eslint-prettier 3 years ago
.npmignore typescript-eslint-prettier 3 years ago
.prettierrc.json typescript-eslint-prettier 3 years ago
6 typescript-eslint-prettier 3 years ago
package-lock.json eslint 3 years ago
package.json eslint 3 years ago
readme.md typescript-eslint-prettier 3 years ago
solutions.json typescript-eslint-prettier 3 years ago
tsconfig.eslint.json typescript-eslint-prettier 3 years ago
tsconfig.json typescript-eslint-prettier 3 years ago

readme.md

Anglo helper (CLI)

Anglo helper is a command line interface (CLI) that will assist with SVN switches and SVN updates of Anglo projects, detect missing projects, execute any general or component-level flyway scripts and validate the structure of Anglo specific projects.

Requirements

Installation steps

  1. Start an elevated command prompt or any other terminal as administrator (i.e. git bash, windows terminal, powershell console).
  2. Issue the following command npm install anglo-helper@latest -g. This will install Anglo helper as global module, which enables you to run it from any (workspace) folder.
  3. Close the elevated command prompt and start a regular, non-elevated command prompt and navigate (change directory) to one of your workspace folders
  4. Run anglo-helper. Since it is the first run, a number of questions will be asked in order to create a profile in /profile_1.json. If applicable, use the same structure as suggested, for example when specifying the flyway folder: use forward slashes, including a trailing slash. You can always edit your profile (/profile_1.json) in case something went wrong or something is missing.

Command line options (anglo-helper --version)

help

Examples

  • Run Anglo Helper with the default profile (profile_1.json). At first run, the default profile is created based on a questionaire.

    $ anglo-helper

  • Show all Anglo-helper command line options.

    $ anglo-helper --help

  • Change or copy your profile

    $ nano profile_1.json or notepad profile_1.json

  • Run Anglo Helper with an alternative profile (i.e., anglo-helper_profile_update.json)

    $ anglo-helper --profile profile_update.json

  • Select an svn version to upgrade or downgrade your current workspace to. Anglo-helper will automatically switch

    $ anglo-helper --select

  • Perform a deployment check, meaning that all externals should have been tagged

    $ anglo-helper --deploymentCheck

  • Override profile settings for to enable switch, update, flyway, verbose. Can be combined

    $ anglo-helper --update

    $ anglo-helper --flyway --verbose
    etc.

  • Force anglo-helper to perform actions on a subset of projects. Can be combined with other arguments

    $ `anglo-helper --component 'Payout'

License

The MIT License (MIT)

Copyright (c) 2020 Hollander Consulting

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Powered by TurnKey Linux.