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

@tibco-software/cic-cli-plugin-tcam

Package Overview
Dependencies
Maintainers
6
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tibco-software/cic-cli-plugin-tcam

CLI Plugin for TIBCO Cloud™ API Modeler ===================

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

CLI Plugin for TIBCO Cloud™ API Modeler

This is a CLI Plugin which will provide you the ability to run basic commands for TIBCO Cloud API Modeler features via the command line interface.

  • Usage
  • Commands

A detailed step-by-step walkthrough for the CLI plugin usage is available here.

Usage

Install CLI Main by following step #1 (i to v) from the instructions provided at https://github.com/TIBCOSoftware/cic-cli-main under the Installation topic.

 Install TCAM CLI Plugin
   $ tibco plugin:install @tibco-software/cli-plugin-tcam
 
 USAGE
  $ tibco tcam:COMMAND

Commands

tibco tcam:create-project

Creates a project

USAGE
  $ tibco tcam:create-project

OPTIONS
  -f, --force
  -h, --help                     show CLI help
  -p, --projectname=projectname  (required) Project name
  --no-warnings                  Disable warnings from commands outputs
  --profile=profile              Switch to different org or region using profile

EXAMPLE
  tibco tcam:create-project -p 'Cli Project'

See code: src/commands/tcam/create-project.ts

tibco tcam:export-apis

Exports APIs to local file system

USAGE
  $ tibco tcam:export-apis

OPTIONS
  -a, --apinames=apinames        Specify the API names that need to be exported
  -f, --force
  -h, --help                     show CLI help
  -p, --projectname=projectname  (required) Exports the APIs of the specified project
  -y, --yaml                     Exports APIs in yaml format
  --no-warnings                  Disable warnings from commands outputs
  --profile=profile              Switch to different org or region using profile

EXAMPLES
  tibco tcam:export-apis -p 'Cli Project'
  tibco tcam:export-apis -p 'Cli Project' -a 'InvalidApi,CliOpenApi' -y

See code: src/commands/tcam/export-apis.ts

tibco tcam:import-apis

Imports API specs

USAGE
  $ tibco tcam:import-apis

OPTIONS
  -f, --force
  -h, --help                     show CLI help

  -l, --location=location        (required) Specify the location or path of an API spec or a directory containing one or
                                 more API specs that need to be imported to a Project

  -p, --projectname=projectname  (required) Specify the project name to which the API spec needs to be imported. The
                                 project must exist in the organization.

  --no-warnings                  Disable warnings from commands outputs

  --profile=profile              Switch to different org or region using profile

EXAMPLES
  tibco tcam:import-apis -l 'C:/Users/myuser/Desktop/Upload/ImportApi.json' -p 'TestProject'
  tibco tcam:import-apis -l 'C:/Users/myuser/Desktop/Upload/ImportProject' -p 'TestProject'

See code: src/commands/tcam/import-apis.ts

tibco tcam:list-apis

Lists APIs

USAGE
  $ tibco tcam:list-apis

OPTIONS
  -a, --apinames=apinames        API names
  -f, --force
  -h, --help                     show CLI help
  -p, --projectname=projectname  Project names
  -t, --apitypes=apitypes        API types you want to list. For example openapi,asyncapi
  --no-warnings                  Disable warnings from commands outputs
  --profile=profile              Switch to different org or region using profile

EXAMPLES
  tibco tcam:list-apis
  tibco tcam:list-apis -p 'Cli Project'
  tibco tcam:list-apis -p 'Cli Project,AuthProject'
  tibco tcam:list-apis -t 'openapi'
  tibco tcam:list-apis -p 'AuthProject' -t 'openapi'
  tibco tcam:list-apis -a 'CliAsyncApi,CliOpenApi'

See code: src/commands/tcam/list-apis.ts

tibco tcam:list-projects

Lists projects

USAGE
  $ tibco tcam:list-projects

OPTIONS
  -f, --force
  -h, --help                       show CLI help
  -p, --projectnames=projectnames  Project names
  --no-warnings                    Disable warnings from commands outputs
  --profile=profile                Switch to different org or region using profile

EXAMPLES
  tibco tcam:list-projects
  tibco tcam:list-projects -p 'Cli Project, UI Project'

See code: src/commands/tcam/list-projects.ts

tibco tcam:validate-apis

Validate API specs

USAGE
  $ tibco tcam:validate-apis

OPTIONS
  -a, --apinames=apinames  API names that need to be validated from the directory
  -f, --force
  -h, --help               show CLI help

  -l, --location=location  (required) Specify the location or path of an API spec or a directory containing one or more
                           API specs

  --no-warnings            Disable warnings from commands outputs

  --profile=profile        Switch to different org or region using profile

EXAMPLES
  tibco tcam:validate-apis -l 'C:/Users/myuser/Desktop/Upload/ImportApi.json'
  tibco tcam:validate-apis -l 'C:/Users/myuser/Desktop/Upload/ImportProject'
  tibco tcam:validate-apis -l 'C:/Users/myuser/Desktop/Upload/ImportProject -a 'bankapi,yamlapi'

See code: src/commands/tcam/validate-apis.ts

Keywords

FAQs

Package last updated on 30 Mar 2022

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