Blended CLI is a fast and easy to use command line interface which will provide you an awesome experience while interacting with the Blended Hub Operations.
CLI or Command Line Interface has been introduced to offer a more efficient development experience and to increase the performance of an application. CLI has been tagged to Blended, which is called Blended CLI, to make Blended applications faster with increased efficiency and to produce the best outcome of the application.
Download Blended CLI
Note: Documents will be your default Blended root directory. You can change it based on your requirement using the below command:
Ex: bd setup blended_root
It will give you a success message. Your working directory is set as "blended_root" successfully for your account "ranjeet".
Note: Executing this command will set up the Blended root directory inside your Blended CLI folder and it will download the initial packages in the ranjeet/src folder including its dependencies in the ranjeet/lib folder.
In my case, the path is C:\Program Files (x86)\Blended-CLI-0.0.1\themes If you have not specified working directory then your path would be something like this C:\Users\Ranjeet\Documents\blended\ranjeet
So, you need to go to this path to check packages in the “src” directory in local storage: In our case the path is C:\Program Files (x86)\Blended-CLI-0.0.1\themes\ranjeet\src
Ex: bd account create ranjeet --name ranjeetk --email ranjeetk@cognam.com --password india@123
It will give you a success message as, Hi Ranjeet, You are logged in Now!!
Note: Keep account_name and --name in the lower case. It must be unique.
Ex: bd account login --login ranjeet--password atoms@123
It will give you a message as, Hi Ranjeet, You are logged in Now!!
bd account current
Ex: bd package preview business_1
You will get prompted with the URL “http://localhost:8009”. Just copy this URL and paste it in your browser to see the preview.
Note: Currently preview is available for themes only. You can not see the preview of a layout package.