Skip to content

matt-newell/snarf

Repository files navigation

S.N.A.R.F.

Salesforce Network Access Record Finder

NPM Downloads/week License

Commands

snarf snowflake query

Snowflake ❄️ > Query 🔎

USAGE
  $ sf snowflake query -a <value> -u <value> [--json] [-q <value>]

FLAGS
  -a, --account=<value>   (required) The Account for Snowflake ❄️
  -q, --query=<value>     The query of the data you'd like to sync ❄️.
  -u, --username=<value>  (required) The Username for Snowflake ❄️

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Snowflake ❄️ > Query 🔎

  snowflake query
  • Account
  • User
  • Query

EXAMPLES
  snowflake query -a Account -u User -q Query:

    $ sf snowflake query

  Say hello to someone you know:

    $ sf snowflake query -a ${Account} -u ${User} -q ${Query}

snarf snowflake import

Snowflake ❄️ > Salesforce ☁️

USAGE
  $ sf snowflake import -o <value> [--json] [-s <value>] [-m <value>] [-e <value>] [-q <value>]

FLAGS
  -a, --account=<value>     (required) The Account for Snowflake ❄️
  -e, --extIdField=<value>  [default: Id] The extIdField of the data you'd like to Upsert ☁️.
  -m, --method=<value>      [default: Upsert] The method of the data you'd like to sync ☁️.
  -o, --target-org=<value>  (required) Username or alias of the target org.
  -q, --query=<value>       The query of the data you'd like to sync ❄️.
  -s, --sobject=<value>     [default: Account] The sobject of the data you'd like to sync .
  -u, --username=<value>    (required) The Username for Snowflake ❄️

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Snowflake ❄️ > Salesforce ☁️

  snowflake
  • clientId
  • oAuth
  • query

  salesforce
  • sObject
  • mode
  • identifier

EXAMPLES
  Import data from Snowflake ❄️ to Salesforce ☁️

  Local dev

    $ ./bin/sf snarf snowflake import -s Contact -m Upsert -e Id -q ./sql/contacts.sql -o devOrg

  Or installed

    $ sf snarf snowflake import -s Contact -m Upsert -e Id -q ./sql/contacts.sql -o devOrg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published