meta-mouse

0.1.3 • Public • Published

Meta Mouse

🐭 likes 🧀 and Salesforce tasks

Requirements

Have Node.js installed

All but Hubspot tasks use sfdx

Install

  npm i -g meta-mouse

You can upgrade metamouse using the same command used to install above

Usage

  metamouse

Use arrow keys or type to navigate

Tasks

When ran, there are these options to choose:

Select Username 🧀

Set & cache the current username to use

Add Username 🧀

Connect orgs to sfdx and cache for quicker access

See Cached Username 🧀

Display the cached username used for any sfdx tasks

Refresh Usernames 🧀

Pulls list of usernames from sfdx and caches list for quicker access and switching

Open in Browser 🧀

Open org in browser (using cached username)

Validation Rule Count 🧀

Count validation rules in org (using cached username)

When ran, choose Standard, Custom or All Objects

Once retrieved and parsed, displays the number of validation rules

Generate Object Sheet 🧀

Create sheet of object metadata in selected user's org to your home directory

Quit 🧀

Exit metamouse

Hubspot to Salesforce 🧀

To help migrate from Hubspot to Salesforce

When ran, there are options to choose:

Set Auth 🧀

Set the auth used for Hubspot to Salesforce processes

View Auth 🧀

Displays the auth used for Hubspot to Salesforce processes

Clear Auth 🧀

This clears the auth cache used for Hubspot to Salesforce processes

Copy files to Salesforce 🧀

This will ask for a full file path to a csv to process

The csv file format is:

62430000001,0031U00001bkw9kQAA
62430000000,0031U00001bkw9kQAA

Hubspot file id then the Salesforce id; No header, comma delimiter, etc

Uses the Hubspot file id to get the Hubspot file URL, download from Hubspot, upload / insert ContentVersion to Salesforce and gets the ContentDocumentId

Uses the Salesforce Id and ContentDocumentId to insert a ContentDocumentLink, linking ContentVersion/Document and the record

Dev

Install deps

  npm i

Start

  npm start

Readme

Keywords

none

Package Sidebar

Install

npm i meta-mouse

Weekly Downloads

17

Version

0.1.3

License

MIT

Unpacked Size

77.9 kB

Total Files

30

Last publish

Collaborators

  • jsmithdevs