Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mentz with all npm packages installed. Try it out:

mentz lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("mentz/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mentz v1.0.1

Solution publishing plugin for the Mentz community mentoring concept.

mentz

Solution publishing plugin for the Mentz community mentoring concept.

Version Downloads/week License

Installation

$ sfdx plugins:install mentz

Commands

sfdx mentz:publish [FILE]

publishes a solution, optionally asking for mentor feedback

USAGE
  $ sfdx mentz:publish [FILE]

OPTIONS
  -c, --comment=comment                           optional comment regarding the solution
  -f, --file=file                                 file containing the solution
  -m, --mentor                                    request mentor feedback
  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org
  --apiversion=apiversion                         override the api version used for api requests made by this command
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  logging level for this command invocation

EXAMPLES
  $ sfdx mentz:publish --targetusername myOrg@example.com --comment "I'm not sure about line 8" -f 
  src/classes/Solution.cls
     Published the solution for CHALLENGE 1  
  $ sfdx mentz:publish --targetusername myOrg@example.com --mentor -f src/classes/Solution.cls
     Requested mentoring for the solution for CHALLENGE 1

sfdx mentz:challenges

lists available challenges for the user to select from and clones the repository for the selected challenge into a subdirectory

USAGE
  $ sfdx mentz:challenges

OPTIONS
  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org
  -a, --all                                       list all challenges, including those already completed
  --apiversion=apiversion                         override the api version used for api requests made by this command
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  logging level for this command invocation

EXAMPLES
$ sfdx mentz:challege --targetusername myOrg@example.com 
  Select a challenge

1) COLLECTION SIMPLE 1
0) Quit
Choose a challenge: 1
Chosen = 1
Cloning repository = https://github.com/mentzbb/SimpleCollections1
 ...
Done

  $ sfdx mentz:publish --targetusername myOrg@example.com --all
  Select a challenge

1) COLLECTION SIMPLE 1
2) CONDITIONAL SIMPLE 1 (Completed)
0) Quit
Choose a challenge: 1
Chosen = 1
Cloning repository = https://github.com/mentzbb/SimpleCollections1
 ...
Done

License

MIT

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free