npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

occ-helper-cli

v1.0.5

Published

Oracle Commerce Cloud Helper CLI

Readme

Oracle Commerce Cloud Helper CLI

The OCC Helper CLI tool was not built to be an alternative to the Design Code Utility as it uses the DCU package for all its server operations.

The Oracle Commerce Cloud Helper CLI will ask you for the environment URL and your application key then will store it in a .env file so it can be used for the grab, put and putAll commands available in the CLI (you can still use DCU for the rest of the commands)

The main purpose of this package is to make it easier and faster for me as a developer to download, update and switch between environments without the need to manually enter the env. URL and application key manually all the time.

###Documentation


Support (OS Terminals)

You should expect mostly good support for the CLI below, but not limited to :

  • Mac OS: Terminal.app, iTerm
  • Windows: ConEmu, cmd.exe, Powershell, Cygwin
  • Linux : gnome-terminal (Terminal GNOME), konsole

Installation

In order for the OCC Helper CLI to work you should have the Design Code Utility installed globally.

To install the OCC Helper CLI execute the below command.

npm install -g occ-helper-cli
# OR
yarn global add occ-helper-cli

You can check if the package is installed correctly with this command and you should get the version installed on your machine:

occ --version

Initiate Workspace

You need first to create a folder then cd into that folder and run the below command

occ init

You will be prompted to enter the Environment path which is same as the full Admin URL example: https://the-admin-url.com

alt text

If you choose yes for Grabbing Widgets, the helper cli will execute the dcu --grab --clean command line under the hood and you will be downdloading all your OCC resources in the created folder.


Show Environment variables

To check your stored credentials (Admin URL and App key), you can always use the below command

occ env

Download all modifiable resources

Takes a copy of all available user modifiable source code and metadata from the specified Commerce Cloud server and creates a directory tree on the local disk.

# Clean grab is selected by default
# if don't want to have a clean grab, you still can pass --keep as an option

occ grab  #for clean grab
occ grab --keep #clean grab desabled
# OR
occ g

The OCC Helper CLI will execute the dcu --grab --clean in the background.


Update a specific file

Sends the specified file back to the specified Commerce Cloud instance. The <path to file> can be either a relative or absolute path.

occ put <file path>
# OR
occ p <file path>

Update a directory

Sends the specified file back to the specified Commerce Cloud instance. The <path to file> can be either a relative or absolute path.

occ putAll <directory path>
# OR
occ pa <directory path>

Commands List

| Commands | Options/Arguments | Description | | ---------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | [command] | -h | --help | Get options of each command | | grab | g | --clean (default) | Deletes all local files that have been previously grabbed and download fresh download all the content. | | | --keep | Copies all available content from the target Commerce Cloud instance into the current working directory, or the base directory if one has been specified. | | put | p | file path | Sends the specified file back to the specified Commerce Cloud instance. The <path to file> can be either a relative or absolute path. | | putAll | pa | <directory path> | Sends all files back to the target Commerce Cloud instance, beneath the specified directory. The <directory> can be either a relative or absolute path | | refresh | r | directory path | Refreshes content from the Commerce Cloud instance within the specified directory. | | env | directory path | View your stored environment variables |