Skip to content

Organization Commands

Commands for organization administrators.

Validate organization configuration.

Terminal window
scc org validate <SOURCE> [OPTIONS]

Arguments:

ArgumentDescription
SOURCEConfig source (URL, file path, or shorthand) - required

Options:

OptionDescription
-s, --schema-versionSpecify schema version to validate against
--jsonOutput as JSON
--prettyPretty-print JSON

Examples:

Terminal window
# Validate local file
scc org validate org-config.json
# Validate remote config
scc org validate https://example.com/org-config.json
# Validate GitHub hosted config
scc org validate github:myorg/scc-config

Validates:

  • JSON syntax
  • Schema compliance
  • Security pattern validity
  • Marketplace references
  • Team profile configurations
  • Delegation consistency

Update organization configuration.

Terminal window
scc org update [OPTIONS]

Options:

OptionDescription
--team NAMERefresh specific team’s config
--all-teamsRefresh all federated team configs
--jsonOutput as JSON
--prettyPretty-print JSON

Examples:

Terminal window
# Update org config
scc org update
# Refresh specific team
scc org update --team platform
# Refresh all federated teams
scc org update --all-teams

Show organization configuration status.

Terminal window
scc org status [OPTIONS]

Options:

OptionDescription
--jsonOutput as JSON
--prettyPretty-print JSON

Shows:

  • Organization name and ID
  • Config source URL
  • Cache status and age
  • Number of team profiles
  • Last update time
  • Any validation issues

Import organization configuration from a source.

Terminal window
scc org import <SOURCE> [OPTIONS]

Arguments:

ArgumentDescription
SOURCEConfig source (URL, file, or github:org/repo)

Examples:

Terminal window
# Import from URL
scc org import https://example.com/org-config.json
# Import from GitHub
scc org import github:myorg/scc-config
# Import from local file
scc org import ./org-config.json

Initialize a new organization configuration.

Terminal window
scc org init [OPTIONS]

Options:

OptionDescription
--template NAMEUse a specific template
--output PATHOutput file path (default: org-config.json)
--jsonOutput as JSON
--prettyPretty-print JSON

Available templates:

  • minimal - Bare minimum configuration
  • single-team - Simple single-team setup
  • multi-team - Multiple teams with delegation
  • strict-security - Security-focused configuration
  • federated - Teams with external config sources

Examples:

Terminal window
# Initialize with interactive prompts
scc org init
# Initialize with specific template
scc org init --template multi-team
# Initialize to custom path
scc org init --output ./configs/org.json

Display or validate against the organization configuration schema.

Terminal window
scc org schema [OPTIONS]

Options:

OptionDescription
--version VERSIONShow specific schema version
--jsonOutput schema as JSON
--prettyPretty-print JSON output

Examples:

Terminal window
# Show current schema
scc org schema
# Show specific schema version
scc org schema --version 2.0
# Output schema as JSON
scc org schema --json --pretty

Schema information includes:

  • Version number
  • Required fields
  • Optional fields
  • Validation rules
  • Example configurations