4 releases

0.1.3 Apr 8, 2023
0.1.2 Apr 8, 2023
0.1.1 Apr 7, 2023
0.1.0 Apr 7, 2023

#3 in #salesforce

49 downloads per month

MIT license

14KB
356 lines

SalesForce Developer Rust Experience


This library tries to wrap sfdx/sf cli commands into rust functions.

How to Use it

use sfrx::orgs::*;

fn main() {
    match orgs::org_list() {
        Ok(org_list_output) => {
            for scratch_org in org_list_output.result.scratch_orgs {
                print!("{}", scratch_org.org_name);
            }
        }
        Err(err) => eprintln!("Error: {}", err),
    }
}

WIP

This project is still in development until i find the time to port more commands and am satisfied with the state of documentation

Dependencies

~0.7–1.6MB
~34K SLoC