Version 1.0.0
Language EN

drone fmt

This subcommand formats your yaml configuration file.

$ drone fmt --help
NAME:
   drone fmt - format the yaml file

USAGE:
   drone fmt [command options] <source>

OPTIONS:
   --save  save result to source

Example prints the formatted yaml to stdout:

$ drone fmt

Example formats a yaml at a non-standard path:

$ drone fmt path/to/.drone.yml

Example formats and overwrites the original file:

$ drone fmt --save

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.