Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

filter

The filter target interacts with a single filter. Below are the operations you can perform on the filter target.

create filter

This operation creates a new filter. By default, the new filter does not expire.

format

enbas [top level flags] create filter [flags]

top level flags

See Top Level Flags

flags

--title (required)

The title of the filter to create.

--filter-context (required)

The context in which the filter should be applied. This flag can be used multiple times to specify multiple values. The valid values for this flag are:

  • home
  • notifications
  • public
  • thread
  • account

--filter-expires-in

The time from when the filter is created that it should expire.

Default: 0

--filter-action

The action to take when a status matches this filter. The valid values for this flag are:

  • hide
  • warn

Default: warn

delete filter

This operation deletes the specified filter.

format

enbas [top level flags] delete filter [flags]

top level flags

See Top Level Flags

flags

--filter-id (required)

The ID of the filter.

edit filter

This operation edits the specified filter.

format

enbas [top level flags] edit filter [flags]

top level flags

See Top Level Flags

flags

--filter-id (required)

The ID of the filter.

--title

The title of the filter to edit.

Default: <empty>

--filter-context

The context in which the filter should be applied. This flag can be used multiple times to specify multiple values. The valid values for this flag are:

  • home
  • notifications
  • public
  • thread
  • account

Default: <empty>

--filter-expires-in

The time from when the filter is created that it should expire.

Default: 0

--filter-action

The action to take when a status matches this filter. The valid values for this flag are:

  • hide
  • warn

Default: <empty>

show filter

This operation prints the details of the specified filter.

format

enbas [top level flags] show filter [flags]

top level flags

See Top Level Flags

flags

--filter-id (required)

The ID of the filter.