Add CLI Base class for command line code (#25106)
This commit is contained in:
parent
d2e5430d4a
commit
384345b0de
33 changed files with 238 additions and 155 deletions
|
@ -1,13 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_relative '../../../config/boot'
|
||||
require_relative '../../../config/environment'
|
||||
require_relative 'helper'
|
||||
require_relative 'base'
|
||||
|
||||
module Mastodon::CLI
|
||||
class Search < Thor
|
||||
include Helper
|
||||
|
||||
class Search < Base
|
||||
# Indices are sorted by amount of data to be expected in each, so that
|
||||
# smaller indices can go online sooner
|
||||
INDICES = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue