Skip to content

init

Initialize an AutoShip configuration file for the current project.

Syntax

autoship init [OPTIONS]

Arguments

init does not accept positional arguments.

Options

Short Long Default Description
- --type TEXT - Override project type detection
-o --output PATH .autoship.toml Config file output path
-y --yes False Skip interactive confirmations

Examples

Initialize in the current directory:

autoship init

Force a specific project type:

autoship init --type python

Write the config to a custom path:

autoship init -o autoship.toml

Skip confirmations in CI:

autoship init --yes

Output Notes / Common Errors

  • Detects project type and hardware capabilities, then recommends a suitable model tier.
  • If the target file already exists, --yes will overwrite it without prompting.
  • config — Inspect and manage configuration
  • doctor — Check environment and configuration