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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@integrationos/cli

v1.2.1

Published

Build and manage performant, high-converting native integrations with a few lines of code.

Downloads

773

Readme

IntegrationOS CLI

Build performant, high-converting native integrations with a few lines of code. By unlocking more integrations, you can onboard more customers and expand app usage, overnight.

Installation

npm install cios

Docker Setup

Commands

Start

To start the docker containers. All the inputs are required. Seeding is optional, but recommended when running the command for the first time.

cios start
Example
# To start the docker containers
cios start 
Enter the IOS Crypto Secret (32 characters long): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Do you want to seed? (Y/N) y

Stop

To stop the docker containers.

cios stop

Initialization

To generate the configuration file. All the inputs are optional. Press enter without entering anything to use the system-default value.

cios init
Example
# To generate the configuration file
cios init
Enter the Mongo Password: (system default) mongo-password
Enter the Buildable Secret: (system default) buildable-secret
Enter the Default Live Access Key: (system default) default-live-access-key
Enter the Default Test Access Key: (system default) default-test-access-key
Enter the Developer Account Access Key: (system default) developer-account-access-key
Enter the Event Access Password: (system default) event-access-password
Enter the JWT Secret: (system default) jwt-secret
Enter the Gateway Secret: (system default) gateway-secret
Enter the API URL: (system default) api-url
Enter the X IOS Secret: (system default) x-ios-secret
Enter the Bearer Token: (system default) bearer-token

Supported Operations

Commands

The following commands are available to work with Common Models, Common Enums or Platforms.

Common Enums

Perform operations on common enums.

List

List common enum(s) available in the database.

cios list enum

Add

Add common enum(s) to the repository. A warning will be shown if an enum is already available in the Database.

cios add enum
Example
# To add specific enum(s)
cios add enum
Enter the names of enums: UserStatus WebhookState

Pull

Pull common enum(s) from the database to the repository. One also has the option to validate after the pull is done. Doing so, will cross-check the data pulled with the data available in the database and notify the user about any discrepancy.

cios pull enum
Examples
# To pull all enums 
cios pull enum
Do you want to pull all common enums? (Y/N) y
Do you want to validate each common enum after pulling? (Y/N) y

# To pull specific enum(s)
cios pull enum
Do you want to pull all common enums? (Y/N) n
Enter the names of enums: AddressType SocialProfileType
Do you want to validate each common enum after pulling? (Y/N) y

Push

Push common enum(s) from the repository to the database.

cios push enum
Examples
# To push all enums 
cios push enum
Do you want to push all common enums? (Y/N) y

# To push specific enum(s)
cios push enum
Do you want to push all common enums? (Y/N) n
Enter the names of enums: EventRuleType TimeCycle

Delete

Delete common enum(s) from the repository and the database.

cios delete enum
Example
# To delete specific enum(s)
cios delete enum
Enter the names of enums: UserStatus TaxType

Common Models

Perform operations on common models.

List

List common model(s) available in the database.

cios list model

Add

Add common model(s) to the repository. A warning will be shown if a model is already available in the Database.

cios add model
Example
# To add specific model(s)
cios add model
Enter the names of models: Contacts Deals

Pull

Pull common model(s) from the database to the repository. One also has the option to validate after the pull is done. Doing so, will cross-check the data pulled with the data available in the database and notify the user about any discrepancy.

cios pull model
Examples
# To pull all models 
cios pull model
Do you want to pull all common models? (Y/N) y
Do you want to validate each common model after pulling? (Y/N) y

# To pull specific model(s)
cios pull model
Do you want to pull all common models? (Y/N) n
Enter the names of models: Customers Webhooks
Do you want to validate each common model after pulling? (Y/N) y

Push

Push common model(s) from the repository to the database.

cios push model
Examples
# To push all models 
cios push model
Do you want to push all common models? (Y/N) y

# To push specific model(s)
cios push model
Do you want to push all common models? (Y/N) n
Enter the names of models: Customers Webhooks

Delete

Delete common model(s) from the repository and the database.

cios delete model
Example
# To delete specific model(s)
cios delete model
Enter the names of models: Leads Opportunities

Platforms

Perform operations on platforms.

List

List platform(s) available in the database.

cios list platform

Add

Add platform to the repository. A warning will be shown if a platform is already available in the Database. The default authentication method is oauth.

cios add platform
Example
# To add a platform
cios add platform
Enter the name of the platform: ZenMail
Enter the authentication method (oauth/bearer/basic/apiKey/oauthLegacy/none): (oauth) apiKey
Enter the names of models: Addresses Discounts

Add Model

Add model(s) to the platform.

cios add platformModel
Example
# To add model(s) to a platform
cios addPlatformModel
Enter the name of the platform: BananaShake
Enter the names of models: Accounts Users

Add OAuth

Add oauth configuration for a platform.

cios add platformOAuth
Example
# To add oauth for a platform
cios add platformOAuth
Enter the name of the platform: Boogle

Pull

Pull platform(s) from the database to the repository. One also has the option to validate after the pull is done. Doing so, will cross-check the data pulled with the data available in the database and notify the user about any discrepancy.

cios pull platform
Examples
# To pull all platforms
cios pull platform
Do you want to pull all platforms? (Y/N) y
Do you want to validate each platform after pulling? (Y/N) y

# To pull specific platform(s)
cios pull platform 
Do you want to pull all platforms? (Y/N)
Enter the names of platforms: FaceGram InstaBook
Do you want to validate each platform after pulling? (Y/N) y

Push

Push platform(s) from the repository to the database.

cios push platform
Examples
# To push all platforms 
cios push platform
Do you want to push all platforms? (Y/N) y
Do you want to set the actions as active? (Y/N) y

# To push specific platform(s)
cios push platform 
Do you want to push all platforms? (Y/N) n
Enter the names of platforms: ShopCommerce Bigify
Do you want to set the actions as active? (Y/N) y

Push Model

Push platform model(s) from the repository to the database. Pushing the model actions will push all actions.

cios push platformModel
Examples
# To push all platform models 
cios push platformModel
Enter the name of the platform: Clove
Do you want to push all the platform models? (Y/N) y
Do you also want to push all the actions in the selected models? (Y/N) y
Do you want to set the actions as active? (Y/N) y

# To push specific platform model(s)
cios push platform Model
Enter the name of the platform: Bean
Do you want to push all the platform models? (Y/N) y
Enter the names of models: Accounts
Do you also want to push all the actions in the selected models? (Y/N) y
Do you want to set the actions as active? (Y/N) y

Push Actions

Push platform actions from the repository to the database. All actions will be pushed.

cios push platformAction
Examples
# To push all platform model actions 
cios push platformAction
Enter the name of the platform: MeetLink
Do you want to push actions for all the platform models? (Y/N) y
Do you want to set the actions as active? (Y/N) y

# To push specific platform model actions
cios push platformAction 
Enter the name of the platform: Chrome
Do you want to push actions for all the platform models? (Y/N) n
Enter the names of models: Accounts
Do you want to set the actions as active? (Y/N) y

Delete

Delete platform(s) from the repository and the database.

cios delete platform
Example
# To delete specific platform(s)
cios delete platform
Enter the names of platforms: Bwitter Orange