render

command
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

Filter list rendering CLI

As an alternative to using the hosted Let's Block It service, you can use this CLI to render your list to a file, sourcing the settings from a YAML file.

You can export your current list from you account page or start from an empty file.

Example input file

title: "example list"               # Title is mandatory
instances:                          # List of instances, multiple instances of a given filter is supported
  - filter: google-search-cleanup   # Filter name, matching the template's file name
    params:                         # Map of param name -> param value
      only-results: false
      related-questions: true
      related-searches: true
  - filter: youtube-shorts          # Params is optional if the filter has no options

Check the available filters and parameters by browsing the filter sources.

How to run the render

Install the golang compiler, then run:

go run github.com/letsblockit/letsblockit/cmd/render@latest my-list.yaml > output.txt

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