
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
A CLI to speed up SalesForce development. Syncs and saves files via Metadata API
This is a command line development tool that allows for the editing and saving of SalesForce source code or other metadata types such as objects, layouts and fields. This tool also allows Ember Applications to easily be built into VisualForce pages. It works under Windows, OS X, or Linux.
These are one time instructions for installing the tool.
npm install -g sf-tool
Updating is simple just run the following command.
npm update -g sf-tool
All documentation is stored in the docs folder. The API reference can be found in the reference folder.
cd project_directory
sf init
Then sign in with your salesforce credentials. A refresh token is stored in the project settings so sign in is not required every time.
sf help
sf help add-connection
cd project_directory
sf create ApexClass ApexClassName
cd project_directory
sf add ApexClass ApexClassName
cd project_directory
sf save ApexClass:ApexClassName
cd project_directory
sf delete ApexClass ApexClassName
cd project_directory
sf delete ApexClass ApexClassName --localOnly
Add the production environment connection:
cd project_directory
sf add-connection production --server=login.salesforce.com
Sign in with credentials, then deploy the changes
sf save ApexClass:ApexClassName --conn=production
FAQs
A CLI to speed up SalesForce development. Syncs and saves files via Metadata API
The npm package sf-tool receives a total of 3 weekly downloads. As such, sf-tool popularity was classified as not popular.
We found that sf-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.