Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CCI Commands for - salesforce #135

Open
jenncarneiro opened this issue May 5, 2022 · 0 comments
Open

Update CCI Commands for - salesforce #135

jenncarneiro opened this issue May 5, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers pkg-none Vanilla Salesforce without any packages, usable outside of education/nonprofit recipe Any issues relating to a recipe (creation or enhancement), as opposed to documentation.

Comments

@jenncarneiro
Copy link
Contributor

jenncarneiro commented May 5, 2022

Building off issue #101

update syntax in recipes in salesforce subfolder

This is not urgent, but it'll make our work more readable.
Until recently, you had to use cci task run generate_and_load_from_yaml with a bunch of arguments to get snowfakery to work. Now, you can use cci task run snowfakery with a slightly different set of arguments. I think we should move all of our recipes (and especially newer/bigger ones) to the new snowfakery task. There's a line of instructions in most recipes

This is the line that needs to change, most of the time:

# cci task run generate_and_load_from_yaml -o generator_yaml snowfakery_samples/npsp/Affiliations_Account_npsp.recipe.yml -o num_records 10 -o num_records_tablename Contact --org dev

which should read

# cci task run snowfakery --recipe snowfakery_samples/npsp/Affiliations_Account_npsp.recipe.yml with argument mapping that I haven't done yet

update main documentation (testing instructions)
run cci task info snowfakery to get the new arguments
find & replace in files

@jenncarneiro jenncarneiro added enhancement New feature or request good first issue Good for newcomers pkg-none Vanilla Salesforce without any packages, usable outside of education/nonprofit recipe Any issues relating to a recipe (creation or enhancement), as opposed to documentation. labels May 5, 2022
@jenncarneiro jenncarneiro added this to the OSC Sprint May 2022 milestone May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers pkg-none Vanilla Salesforce without any packages, usable outside of education/nonprofit recipe Any issues relating to a recipe (creation or enhancement), as opposed to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants