command line tools for IBM Cognos Analytics.
You need to have nodejs installed. once you have that working, type the following at the prompt:
npm install -g cognos-cli
extension: Uploads extension into cognos. theme: Uploads theme into cognos.
cognos [options] [command]
-d, --debug Shows debug output
-V, --version output the version number
-h, --help output usage information
upload|up [options] [object] Upload either an extention or theme. eg. upload theme -e MyTheme.zip
mcognosinit|mci [options] [file] Start a new fresh mCognos configuration in this mCognos folder.
mcognosupdate|mcu [options] [file] Update all files with your mCognos configuration
export|exp [options] Export Palettes
import|imp [options] [file] Import Objects
defaultpalettes|dp [options] [file] Convert public palettes export to default palettes file
deletepalette|rmp [options] [id] Delete Palette(s)
Usage: upload|up [options][object]
Upload either an extention or theme or visualisation. eg. upload theme -e MyTheme.zip
-w --url [url] URL of cognos server
-u --user [user] Cognos Username
-p --password [password] Cognos Password
-n --namespace [namespace] Cognos Namespace, when ommitted the default namespace is used
-e, --extname <extname> The name of the extension or theme file. Mandatory.
-c, --config [config] A .json configuration file. Any command-line parameter will override settings in this config file. The default is Settings.json.
-h, --help output usage information
Usage: export|exp [options]
Export Palettes
-w --url [url] URL of cognos server
-u --user [user] Cognos Username
-p --password [password] Cognos Password
-n --namespace [namespace] Cognos Namespace, when ommitted the default namespace is used
-c, --config [config] A .json configuration file. Any command-line parameter will override settings in this config file. The default is Settings.json.
-h, --help output usage information
Usage: import|imp [options][file]
Import Objects
-w --url [url] URL of cognos server
-u --user [user] Cognos Username
-p --password [password] Cognos Password
-n --namespace [namespace] Cognos Namespace, when ommitted the default namespace is used
-c, --config [config] A .json configuration file. Any command-line parameter will override settings in this config file. The default is Settings.json.
-h, --help output usage information
Usage: deletepalette|rmp [options][id]
Delete Palette(s)
Options: -a, --all Delete all public palettes -s, --silent Ask no questions -w --url [url] URL of cognos server -u --user [user] Cognos Username -p --password [password] Cognos Password -n --namespace [namespace] Cognos Namespace, when ommitted the default namespace is used -c, --config [config] A .json configuration file. Any command-line parameter will override settings in this config file. The default is Settings.json.
Start a new fresh mCognos configuration in this mCognos folder.
mcognosinit|mci [options] [file]
-c, --customize Customize mCognos for your own purpose
-s, --silent Ask no questions
-h, --help output usage information
Update all files with your mCognos configuration
mcognosupdate|mcu [options] [file]
-c, --customize Customize mCognos for your own purpose
-s, --silent Ask no questions
-h, --help output usage information