Giter Club home page Giter Club logo

salesforce-apex-price-recordnumber's Introduction

salesforce-apex-price-recordnumber

salesforce-apex-price-recordnumber は、salesforce sand box 環境で動作する Apex コードを管理します。

使用方法

salesforce の CLI の sfdx を使用します。こちらから を参考にインストールしてください。 また、下記コマンドを実行する事で既存の make コマンドの一覧と説明を出力します。

$ make
sf-login             sandbox 環境にログインします。
sf-all-retrieve      全ての Apex code を取得します。
sf-class-retrieve    クラス単位で Apex code を取得します。
sf-all-deploy        全ての Apex code をデプロイします。
sf-class-deploy      クラス単位で Apex code をデプロイします。

引数のある make コマンドは、引数なしで叩く事で使用例が出力されます。

$ make sf-class-retrieve
Usage: make sf-class-retrieve class=TargetClassName

login

sfdx を使用するに当たって sandbox 環境にログインする必要があります。下記コマンドを実行してログインしてください。

$ make sf-login

retrieve

全ての Apex code を取得

下記コマンドを使用する事で sandbox 環境にある Apex コードを取得できます。(コードは force-app/main/default に、上書きされます。) 取得範囲は manifest/package.xml に記載されています。

$ make sf-all-retrieve

クラス単位での取得

下記コマンドを使用する事で sandbox 環境に ローカルの Apex コードをクラス単位で取得できます。 ※ ローカル環境にコードが上書きされるので、注意して使用してください。 取得範囲は manifest/package.xml に記載されています。

$ make sf-class-deploy class=TargetClassName

フォルダー単位での取得

$ sfdx force:source:deploy -p {folder path}

deploy

全ての Apex code をデプロイ

下記コマンドを使用する事で sandbox 環境に ローカルの Apex コードを deploy できます。 ※ ローカル環境のコードがそのまま反映されるので、注意して使用してください。 取得範囲は manifest/package.xml に記載されています。

$ make sf-all-deploy

クラス単位でのデプロイ

下記コマンドを使用する事で sandbox 環境に ローカルの Apex コードをクラス単位で deploy できます。 ※ ローカル環境のコードがそのまま反映されるので、注意して使用してください。 取得範囲は manifest/package.xml に記載されています。

$ make sf-class-deploy class=TargetClassName

フォルダー単位でのデプロイ

$ sfdx force:source:deploy -p {folder path}

その他 Apex Class 単位でのデプロイなどは、こちら を参考にしてください

salesforce-apex-price-recordnumber's People

Contributors

misupopo avatar yurino23 avatar azusa0905 avatar

Stargazers

MiyuYokoyama avatar  avatar  avatar  avatar peppe avatar  avatar  avatar 横山 美結 avatar  avatar Yutaro Sugiyama avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.