cli_options

in chefctl/sample_hooks/custom_attrs.rb [32:40]


  def cli_options(parser)
    parser.on(
      '--custom-attr',
      'A custom node attribute',
    ) do |v|
      @custom_attr = v
    end
  end