packer-sdc

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

README

packer-sdc

The packer software development command is meant for plugin maintainers and Packer maintainers, it helps generate docs and code. For Packer and for Packer Plugins.

At the top of many Packer go files, you can see the following:

//go:generate packer-sdc struct-markdown
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,CustomerEncryptionKey

This will generate multiple files.

See docs for subcommands for further info by reading their readme or using their specific help commands:

  • packer-sdc mapstructure-to-hcl2 -h
  • packer-sdc plugin-check -h
  • packer-sdc struct-markdown -h
  • packer-sdc renderdocs -h
  • packer-sdc fix -h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
fix
fs
mapstructure-to-hcl2
mapstructure-to-hcl2 fills the gaps between hcl2 and mapstructure for Packer
mapstructure-to-hcl2 fills the gaps between hcl2 and mapstructure for Packer

Jump to

Keyboard shortcuts

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