Skip to content
SHC Docs

shc import

import deployment data from an archive

shc import <exporter> [flags]
-e, --environment string environment (default "default")
-h, --help help for import
-i, --input string input directory containing files to import
-p, --param stringArray import parameters as key=value pairs (repeatable)
--params-json string import parameters as a JSON object
-s, --stack string name of the stack to import into
-w, --wrap string wrap an external file/dir (a path on the daemon host) as the import artifact: <path> or <path>@<slot> (slot defaults to 'output')
--config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win
-d, --debug enable debug mode (default: $SHC_DEBUG)
--exclude string comma-separated dotted paths to drop
--fields string comma-separated columns/keys to show (and their order)
--filter string comma-separated dotted paths to keep (drops everything else)
-o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT)
-t, --tenant string tenant name (default: $SHC_TENANT)
-v, --verbose verbose output (default: $SHC_VERBOSE)
  • shc - Selfhosted Cloud CLI