actionlog

command
v0.0.0-...-a0408b4 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

 actionlog works with the actionlog.
 It can be used to approve or deny actions in bulk, as an alternative to the UI.

 Usage:

	go run . DBSPEC list FROM TO
	List entries between times.
	FROM and TO are times expressed in one of the following ways:
	- times in DateOnly or RFC3339 format
	- negative durations in a format understood by time.ParseDuration,
	  meaning time.Now().Add(d). For example, "-2h" for "2 hours ago".
	- the word "now"

	go run . DBSPEC get KEY...
	Display entries with given keys.

	go run . DBSPEC [approve|deny] KEY...
	Approve or deny entries with given keys.

 The DBSPEC argument is a db spec like firestore:PROJECT,DBNAME

 The key format for the -prefix option and KEY arguments is a comma-separated list
 of strings or ints, processed with ordered.Encode. For example,

	golang/go,27

 is equivalent to the Go expression

	ordered.Encode("golang/go", 27)

Examples:

Deny labeling all golang/go issues from 1 to 100:

seq 1 100 | xargs go run . -kind labels.Labeler -prefix golang/go firestore:oscar-go-1,prod deny

Jump to

Keyboard shortcuts

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