Skip to main content

skyhook init

Initialize a new service

Synopsis

Initialize a new Skyhook service by auto-detecting project configuration. This command scans the specified directory (or current directory) to detect:
  • Programming language and framework
  • Container port from Dockerfile
  • Repository information from git
  • Monorepo structure (Nx, Turborepo, pnpm, etc.)
The detected configuration is presented in an interactive form for review before creating the service. Use ‘skyhook detect’ to preview detection results without creating a service.
skyhook init [path] [flags]

Examples

  skyhook init                 # Interactive mode in current directory
  skyhook init ./my-service    # Initialize from specific path
  skyhook init --yes           # Non-interactive, use all detected defaults
  skyhook init --dry-run       # Preview what would be created
  skyhook init -s my-api       # Override the service name

Options

      --dry-run          Show what would be created without making changes
  -f, --force            Re-import even if service config already exists
  -h, --help             help for init
  -s, --service string   Override the detected service name
  -y, --yes              Non-interactive mode, use detected/default values

Options inherited from parent commands

      --debug        Enable debug mode (shows full API requests/responses)
  -o, --org string   Organization name
  -v, --verbose      Enable user-friendly verbose output

SEE ALSO

  • skyhook - skyhook is a CLI tool to help you create and manage k8s services