Initialize a workspace with stencila.toml configuration
stencila init [OPTIONS] [DIR]
# Initialize current directory with interactive prompts
stencila init
# Initialize with all defaults (non-interactive)
stencila init --yes
# Initialize a specific directory
stencila init ./my-project
# Initialize with specific options
stencila init --root docs --home index.md
# Initialize with outputs for executable documents
stencila init --outputs docx,pdf
This creates a stencila.toml configuration file with site settings, routes, and output configurations based on repository analysis.