drone-yaml

command module
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

README

Package yaml provides a parser, linter, formatter and compiler for the drone configuration file format.

Lint the yaml file:

$ drone-yaml lint samples/simple.yml

Format the yaml file:

$ drone-yaml fmt samples/simple.yml
$ drone-yaml fmt samples/simple.yml --save

Sign the yaml file using a 32-bit secret key:

$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml
$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml --save

Verify the yaml file signature:

$ drone-yaml verify 642909eb4c3d47e33999235c0598353c samples/simple.yml

Compile the yaml file:

$ drone-yaml compile samples/simple.yml samples/simple.json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL