General commands

Overview

Use the following general commands via the Seven Bridges Command Line Interface.

help

Use this command to get help for the Seven Bridges Command Line Interface commands.

Usage: 
  sb [command]

Available Commands:
  apps         Manage apps on the CGC.
  billing      Obtain information about available billing groups.
  configure    Configure credentials to access your project on the CGC.
  exports      Manage exports on the CGC.
  files        Manage files on the CGC.
  upload       Upload your files to the CGC
  download     Download your files from the CGC.
  imports      Manage imports on the CGC.
  members      Manage project members on the CGC.
  projects     Manage projects on the CGC.
  tasks        Manage tasks on the CGC.
  version      Display the version of application currently used.
  volumes      Manage volumes on the CGC.
  whoami       Display information about the current user.
  troubleshoot Creates an archive file that can be sent to SevenBridges support.

Global Flags:
      - -config string    Configuration file to use instead of the default one.
      - -debug            Run the command with debug information in the output.
      - -dryrun           Display output of a command without running it.
  -h, - -help             help for sb
      - -no-color         Turn on/off the color of the output.
      - -output string    The formatting style for command output ("text",
                         "json", "table"). (default "text")
      - -profile string   Configuration profile to use from credentials
                         file. (default "default")
      - -quiet            Suppress chatty console output.

troubleshoot

Using the sb troubleshoot command is an easy way to report a problem with the Seven Bridges Command Line Interface, with all relevant information included. This command generates a debug file on a specific location (on your local machine), so that you can send it to the Seven Bridges Support Team ([email protected]) along with the description of the problem. The location of the generated file is $HOME/.sevenbridges/sb/report.tar.gz and it will contain relevant information that should help Seven Bridges engineers identify the problem.

Usage:

sb troubleshoot [flags]

Flags:

  • h, --help - Help for the troubleshoot command

configure

This is a one-time operation that sets up user credentials for accessing a project on a specific environment. In order to access a project on the CGC, specify the environment and provide your corresponding authorization token.

Usage:
  sb configure [flags]

Flags:
  -h, - -help   help for configure

whoami

This command returns information about the current user accessing the CGC.

Usage:
  sb whoami [flags]

Flags:
  -h, - -help   help for whoami

version

This command displays the version of the application currently used.

Usage:
  sb version [flags]

Flags:
  -h, - -help   help for version