This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ConfigFile } from "@salesforce/core"; | |
export default class TwilioConfig extends ConfigFile<ConfigFile.Options> { | |
public static getFileName(): string { | |
return 'twilioconfig.json'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { flags, SfdxCommand } from '@salesforce/command'; | |
import { Messages, SfdxError } from '@salesforce/core'; | |
import { AnyJson } from '@salesforce/ts-types'; | |
import { Twilio } from 'twilio'; | |
import TwilioConfig from '../../../lib/twilioconfig'; | |
// Initialize Messages with the current plugin directory | |
Messages.importMessagesDirectory(__dirname); | |
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied, please supply the project directory, the source directory within the project directory and optionally 'yes' to preserve the original metadata." | |
exit 1 | |
fi | |
if [ -z "$2" ] | |
then |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Profile xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<applicationVisibilities> | |
<application>Cloud_Tech_Support</application> | |
<default>false</default> | |
<visible>false</visible> | |
</applicationVisibilities> | |
<applicationVisibilities> | |
<application>LiveChat</application> | |
<default>false</default> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# NOTE: As with any script you download on the internet, | |
# please make sure you understand what each command is | |
# going to do before running it. | |
rm -rf /usr/local/sfdx | |
rm -rf /usr/local/lib/sfdx | |
rm -rf /usr/local/bin/sfdx | |
rm -rf ~/.local/share/sfdx ~/.config/sfdx ~/.cache/sfdx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dx customizations | |
alias status='(sfdx force:org:list & | |
sfdx force:alias:list & | |
sfdx force:config:list; wait)' | |
alias orglist='sfdx force:org:list' | |
alias orglistc='sfdx force:org:list --clean -p' | |
alias push='sfdx force:source:push' | |
alias pull='sfdx force:source:pull' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
txtred='\e[0;31m' # Red | |
bldgrn='\e[1;32m' # Green | |
txtrst='\e[0m' # Text Reset | |
#trap "exit 1" TERM | |
#export TOP_PID=$$ | |
prompt() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sfdx force:org:delete -u Demo -p | |
rm -rf Demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function prompt { | |
echo "" | |
echo $1 | |
} | |
prompt "Create project workspace..." | |
sfdx force:project:create -n Demo | |
cd Demo |
NewerOlder