-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.rb
57 lines (54 loc) · 1.26 KB
/
commands.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# frozen_string_literal: true
require_relative 'add_wifi'
require_relative 'airplane_mode'
require_relative 'animation_scale'
require_relative 'clear_app_data'
require_relative 'disable_audio'
require_relative 'display'
require_relative 'display_scale'
require_relative 'font_scale'
require_relative 'help'
require_relative 'launch_system_settings'
require_relative 'launch_app'
require_relative 'layout_bounds'
require_relative 'list_packages'
require_relative 'max_bright'
require_relative 'night_mode'
require_relative 'permissions'
require_relative 'processor'
require_relative 'pull_apks'
require_relative 'reboot_and_wait'
require_relative 'screenshot'
require_relative 'shared_prefs'
require_relative 'talkback'
require_relative 'uninstall_package'
require_relative 'version_name'
module Commands
KNOWN_COMMANDS = [
AddWifi,
AirplaneMode,
AnimationScale,
ClearAppData,
DisableAudio,
Display,
DisplayScale,
FontScale,
Help,
LaunchApp,
LaunchSystemSettings,
LayoutBounds,
ListPackages,
MaxBright,
NightMode,
Permissions,
Processor,
PullApks,
RebootAndWait,
Screenshot,
SharedPrefs,
Talkback,
UninstallPackage,
VersionName
].freeze
KNOWN_COMMAND_NAMES = KNOWN_COMMANDS.map(&:name)
end