rtf-class

A collection of functions for preparing and cleaning up student accounts for the AnyPoint Platform Operations: Runtime Fabric training.

Usage no npm install needed!

<script type="module">
  import rtfClass from 'https://cdn.skypack.dev/rtf-class';
</script>

README

rtf-class

A collection of functions for preparing and cleaning up student accounts for the AnyPoint Platform Operations: Runtime Fabric training.

SETUP

  1. Create an Anypoint credentials file in your working directory in this format (it should contain credentials for an orgn admin in the master org):
{
    "default": {
        "username": "me",
        "password": "pass123"
    }
}
  1. Ensure that you have a report.csv file containing all student account information with this format:
Email,FirstName,LastName,Username
nasir.bilal@mulesoft.com,Nasir,Bilal,rtfstudent01
mohit.asher@mulesoft.com,Mohit,Asher,rtfstudent02
wayne.cook@mulesoft.com,Wayne,Cook,rtfstudent03
steven.smith@mulesoft.com,Steven,Smith,rtfstudent04

USAGE

  Usage
    npx rtf-class [--option] <command>

  Options
    --clear                           Clear the console (DEFAULT: true)
    --no-clear                        Don't clear the console
    --debug, -d                       Print debug info
    --version, -v                     Print CLI version

  Commands
    help                              Print this help message
    add-instructor-permissions        Add permissions for both instructor AnyPoint accounts under all student business groups
    cleanup-anypoint                  Delete all AnyPoint Platform resources possibly created by students during RTF training

  Examples
    npx rtf-class cleanup-anypoint --no-clear

CONTRIBUTING

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.