fnox init
- Usage:
fnox init [FLAGS] - Aliases:
i
Create a fnox.toml config file
Writes a new config file at the -c path (default: fnox.toml in the current directory), or the global config with --global. When stdin is a terminal, a wizard helps you configure a first provider, tests its connection, and makes it the default. Without a terminal, or with --skip-wizard, the file is minimal and no provider is configured.
fnox refuses to overwrite an existing file unless you pass --force.
Flags
-f --force— Overwrite an existing config file-g --global— Create the global config file (~/.config/fnox/config.toml) instead--skip-wizard— Write a minimal config without running the setup wizard-h --help— Print help
Examples
Create fnox.toml with the setup wizard
sh
fnox initCreate a minimal fnox.toml
sh
fnox init --skip-wizardCreate the global config
sh
fnox init --global