Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@credenceanalytics/credmktcli

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@credenceanalytics/credmktcli

Credence Marketplace CLI Tool

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

credmkt-cli

Support for market place page where in any kind of feature like report/app/noderedflow can be published. User can visit market place download the Package and install.

Installation

Prerequisites

Online Mode

  • Run the following command to install.
    $ npm install -g @credenceanalytics/credmktcli@latest
    
  • Test installation by typing following command:
    $ credmktcli --help
    

Offline Mode

  • Extract credmkt-cli.zip.
    • Place the extracted credmkt-cli folder to somewhere safe on your disk.
  • Run npm link --force inside credmkt-cli/ folder.
  • Test installation by typing following command:
    $ credmktcli --help
    

Commands

credmktcli setup

Run this command in the credence/ folder.

This command creates a new directory named custom-packages/ in the credence/ Folder.

Usage
$ credmktcli setup
Folder structure before running the command [dev environment]
credence/
  ├── visualizer-dashpages/
  ├── pages/
  ├── apps/
  └── microservices/
Folder structure after running the command [dev environment]
credence/
  ├── custom-packages/
  ├── visualizer-dashpages/
  ├── apps/
  ├── pages/
  └── microservices/

credmktcli package:init

Run this command in package repository must be a git repo.

This command helps in setting up a new package by creating a package.json file in the specified directory. It prompts the user to enter various details about the package such as name, version, description, author and keywords and writes these details into a newly created package.json file.

Usage
$ credmktcli package:init
Folder structure after running the command
<Package repo>/
  └── package.json

credmktcli package:add

This command is used to add a new visualizer dashboard or pagebuilder page to an existing package in a Git repository.

This command checks if the current directory is a Git repository and contains a package.json file. It then prompts the user to choose whether to add a visualizer dashboard or pagebuilder page to the package. If a visualizer dashboard already exists in the package, the user is asked whether they want to overwrite it.

Usage
$ credmktcli package:add
Folder structure before running the command
<Package repo>/
  └── package.json
Folder structure after running the command
└── <Package repo>/
    ├── visualizer-dashboard/
    │   └── <Added dashboard>/
    │       └── files
    ├── pages/
    │   └── <Added pages/
    │       └── files
    └── package.json

credmktcli package:publish

This command is used to update the version of a package, commit and push changes to the Git repository, and create a ZIP archive of the package.

Usage
$ credmktcli package:publish
Folder structure
└── <Package repo>/
    ├── visualizer-dashboard/
    │   └── <Added dashboard>/
    │       └── files
    ├── pages/
    │   └── <Added pages/
    │       └── files
    └── package.json

credmktcli package:apply

This command is used to extract and install a package from a specified ZIP file. This command handles extracting the package, optionally overwriting existing directories, and setting up the package correctly.

Usage
$ credmktcli package:apply
Folder structure before running the command [production environment]
└── credence/
    ├── custom-packages/
    ├── visualizer-dashpages/
    ├── apps/
    ├── microservices/
    └── pages/
Folder structure after running the command [production environment]
credence/
  ├── custom-packages/
  │   └── <Installed Package>/
  │       ├── visualizer-dashboard/
  │       │   └── <different dashboards>
  |       ├──pages/
  |       |  └──<different pages>
  │       └── package.json
  ├── visualizer-dashpages/
  │   └── dash/
  │       └── <different dashboards> 
  ├── pages/
  |   └──<different pages>
  ├── apps
  └── microservices

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc