discorb 0.9.4 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changelog.md +304 -254
- data/README.md +5 -5
- data/Rakefile +3 -0
- data/docs/application_command.md +8 -7
- data/docs/cli/run.md +5 -1
- data/docs/extension.md +16 -22
- data/docs/license.md +5 -1
- data/examples/extension/main.rb +1 -1
- data/examples/extension/message_expander.rb +4 -6
- data/lib/discorb/app_command.rb +4 -2
- data/lib/discorb/client.rb +32 -22
- data/lib/discorb/common.rb +4 -23
- data/lib/discorb/components.rb +29 -1
- data/lib/discorb/exe/run.rb +20 -3
- data/lib/discorb/extend.rb +21 -0
- data/lib/discorb/extension.rb +60 -47
- data/lib/discorb/file.rb +18 -0
- data/lib/discorb/interaction.rb +23 -19
- data/lib/discorb/message.rb +4 -4
- data/lib/discorb/modules.rb +5 -41
- data/lib/discorb/utils.rb +0 -20
- data/template-replace/files/css/common.css +3 -2
- data/template-replace/scripts/arrow.rb +7 -0
- data/template-replace/scripts/version.rb +20 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 711fc9fac1407a6de44da571555d6b5eb0575983453a8371bbb1df960ae376ac
|
4
|
+
data.tar.gz: 33defa63e7f65c82eee318a4d3783c2640fc1dcb54ffdf4941694cef7e72b1a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a58931cea651763d030c14a61f1f463b7959449bcd70599819c0140884a2a0d86cde1706f97fb3af81013eb6fe2d5372df743a5275dc86f454d01618ba1a90a
|
7
|
+
data.tar.gz: 884bdcfa59ff7612bcf9f0f12186c5e4cf51313b22a71dac308edc2abaaf45f33cf5e6f85c48681beb976309a245610d16dfd5c781bc6e50c90c0f9e215bc11a
|
data/Changelog.md
CHANGED
@@ -1,254 +1,304 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
-
|
18
|
-
- Add: Add
|
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
|
-
- Add:
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
-
|
59
|
-
- Add: Add
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
- Fix: Fix
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
- Add:
|
81
|
-
- Add: Add `
|
82
|
-
- Change: Change `
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
- Add: Add
|
108
|
-
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
- Fix: Fix
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
-
|
145
|
-
- Add: Add
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
-
|
152
|
-
- Add: Add
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
- Add:
|
185
|
-
- Fix: Fix
|
186
|
-
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
-
|
194
|
-
|
195
|
-
##
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
- Add: Add
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
- Add:
|
221
|
-
-
|
222
|
-
-
|
223
|
-
|
224
|
-
##
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
- Fix: Fix
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
- Add:
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
-
|
252
|
-
-
|
253
|
-
|
254
|
-
|
1
|
+
# @title Changelog
|
2
|
+
|
3
|
+
# Changelog
|
4
|
+
|
5
|
+
## v0.10
|
6
|
+
|
7
|
+
### v0.10.1
|
8
|
+
|
9
|
+
- Add: Add `Client#extensions`
|
10
|
+
- Change: `Client#load_extension` allows instance of `Extension`
|
11
|
+
- Add: Add `-b` option to `discorb run`
|
12
|
+
|
13
|
+
### v0.10.0
|
14
|
+
|
15
|
+
- Change: Sort versions
|
16
|
+
- Change: Snowflake is now String
|
17
|
+
- Change: Extension is now Class
|
18
|
+
- Add: Add `SelectMenu#disabled=`
|
19
|
+
|
20
|
+
## v0.9
|
21
|
+
|
22
|
+
### v0.9.6
|
23
|
+
|
24
|
+
- Add: Add `Messageable#send_message` as alias of `Messageable#post`
|
25
|
+
- Fix: Fix interaction responding with updating message
|
26
|
+
- Fix: Fix `MessageComponentInteraction#message`
|
27
|
+
|
28
|
+
### v0.9.5
|
29
|
+
|
30
|
+
- Fix: Fix editing message
|
31
|
+
- Add: Add `required` in slash command argument
|
32
|
+
- Add: Add `default` in slash command argument
|
33
|
+
|
34
|
+
### v0.9.4
|
35
|
+
|
36
|
+
- Change: `Messageable#typing` with block is now synchronous
|
37
|
+
- Fix: Fix some issues in document
|
38
|
+
- Add: Add some attributes to `Message`
|
39
|
+
- Fix: Fix guild parameter in message of message command
|
40
|
+
|
41
|
+
### v0.9.3
|
42
|
+
|
43
|
+
- Fix: Fix interaction responding
|
44
|
+
|
45
|
+
### v0.9.2 (yanked)
|
46
|
+
|
47
|
+
- Add: Make `Async::Task#inspect` shorter
|
48
|
+
- Add: `SourceResponse#post` will return message now
|
49
|
+
- Fix: Fix member caching
|
50
|
+
|
51
|
+
### v0.9.1
|
52
|
+
|
53
|
+
- Fix: Fix member fetching
|
54
|
+
|
55
|
+
### v0.9.0
|
56
|
+
|
57
|
+
- Delete: Delete `-d` parameter from `discorb run`; This is caused by segement fault error.
|
58
|
+
- Change: Rename `-t`, `--token` to `-e`, `--env` parameter
|
59
|
+
- Add: Add `-t`, `--title` parameter to `discorb run`
|
60
|
+
- Add: Add `title` parameter to `Client#initialize`
|
61
|
+
|
62
|
+
## v0.8
|
63
|
+
|
64
|
+
### v0.8.2
|
65
|
+
|
66
|
+
- Fix: Fix `Client#initialize`
|
67
|
+
|
68
|
+
### v0.8.1
|
69
|
+
|
70
|
+
- Add: Add FAQ
|
71
|
+
- Fix: Fix sending files
|
72
|
+
- Add: Add `File.from_string`
|
73
|
+
- Fix: Fix `Client#update_presence`
|
74
|
+
- Add: Add information in `discorb run -d`
|
75
|
+
|
76
|
+
### v0.8.0
|
77
|
+
|
78
|
+
- Add: Add `Guild#fetch_members`
|
79
|
+
- Add: Add `Guild#fetch_member_list` as alias of `Guild#fetch_members`
|
80
|
+
- Add: Add `Intents#to_h`
|
81
|
+
- Add: Add `fetch_member` parameter to `Client#initialize`; Note you should set `false` if your bot doesn't have `GUILD_MEMBERS` intent
|
82
|
+
- Change: Change `ready` to `standby` event
|
83
|
+
- Change: `ready` will be fired when client receives `READY` event
|
84
|
+
|
85
|
+
## v0.7
|
86
|
+
|
87
|
+
### v0.7.6
|
88
|
+
|
89
|
+
- Fix: Fix heartbeating error
|
90
|
+
|
91
|
+
### v0.7.5 (yanked)
|
92
|
+
|
93
|
+
- Fix: Fix critical error
|
94
|
+
|
95
|
+
### v0.7.4 (yanked)
|
96
|
+
|
97
|
+
- Fix: Fix disconnected client
|
98
|
+
|
99
|
+
### v0.7.3
|
100
|
+
|
101
|
+
- Add: Improve `discorb init`
|
102
|
+
|
103
|
+
### v0.7.2
|
104
|
+
|
105
|
+
- Add: Add `Member#owner?`
|
106
|
+
- Fix: Fix `Member#permissions`
|
107
|
+
- Add: Add `Member#guild_permissions` as alias of `Member#permissions`
|
108
|
+
- Add: Add default role to `Member#roles`
|
109
|
+
- Fix: Fix error in `Integration#_set_data`
|
110
|
+
- Change: Reverse `Member#roles`
|
111
|
+
|
112
|
+
### v0.7.1
|
113
|
+
|
114
|
+
- Fix: Fix error of responding to interaction
|
115
|
+
|
116
|
+
### v0.7.0
|
117
|
+
|
118
|
+
- Add: Add `error` event
|
119
|
+
- Fix: Fix some issues with client without guild intent
|
120
|
+
- Add: Add alias for `#fired_by`
|
121
|
+
- Change!: Change block usage of `ApplicationCommand::Handler#group`
|
122
|
+
|
123
|
+
```ruby
|
124
|
+
# before
|
125
|
+
client.slash_group do
|
126
|
+
slash "help", "Help" do |interaction|
|
127
|
+
# ...
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# after
|
132
|
+
client.slash_group do |group|
|
133
|
+
group.slash "help", "Help" do |interaction|
|
134
|
+
# ...
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
```
|
139
|
+
|
140
|
+
## v0.6
|
141
|
+
|
142
|
+
### v0.6.1
|
143
|
+
|
144
|
+
- Change: Rename `Event#discriminator` to `Event#metadata`
|
145
|
+
- Add: Add `:override` to `Client#on`
|
146
|
+
|
147
|
+
### v0.6.0
|
148
|
+
|
149
|
+
- Fix: Fix issue with client with no guilds
|
150
|
+
- Add: Add rbs (experimental)
|
151
|
+
- Add: Add `-t`, `--token` option to `discorb run`
|
152
|
+
- Add: Add `-g`, `--guild` option to `discorb setup`
|
153
|
+
- Change: Use `Async::Task<R>` instead of `R` in return value
|
154
|
+
|
155
|
+
## v0.5
|
156
|
+
|
157
|
+
### v0.5.6
|
158
|
+
|
159
|
+
- Add: Raise error when intents are invalid
|
160
|
+
- Fix: Fix Emoji#==
|
161
|
+
|
162
|
+
### v0.5.5
|
163
|
+
|
164
|
+
- Fix: Fix some bugs
|
165
|
+
|
166
|
+
### v0.5.4
|
167
|
+
|
168
|
+
- Fix: Fix issue of receiving component events
|
169
|
+
|
170
|
+
### v0.5.3
|
171
|
+
|
172
|
+
- Add: Add way to handle raw events with `event_xxx`
|
173
|
+
- Add: Add `Client#session_id`
|
174
|
+
- Add: Add `Connectable`
|
175
|
+
- Fix: Fix error by sending DM
|
176
|
+
|
177
|
+
### v0.5.2
|
178
|
+
|
179
|
+
- Fix: Fix bug of registering commands
|
180
|
+
- Add: Add way to register commands in Extension
|
181
|
+
|
182
|
+
### v0.5.1
|
183
|
+
|
184
|
+
- Add: Can use block for defining group commands
|
185
|
+
- Fix: Fix bug in subcommands
|
186
|
+
- Fix: Fix bug in receiving commands
|
187
|
+
|
188
|
+
### v0.5.0
|
189
|
+
|
190
|
+
- Change: Use zlib stream instead
|
191
|
+
- Add: Add tutorials
|
192
|
+
- Add: Add ratelimit handler
|
193
|
+
- Change: Make `--git` option in `discorb init` false
|
194
|
+
|
195
|
+
## v0.4
|
196
|
+
|
197
|
+
### v0.4.2
|
198
|
+
|
199
|
+
- Fix: Fix error in `discorb run`
|
200
|
+
|
201
|
+
### v0.4.1
|
202
|
+
|
203
|
+
- Add: Add `-s` option to `discorb run`
|
204
|
+
|
205
|
+
### v0.4.0
|
206
|
+
|
207
|
+
- Add: Add `discorb setup`
|
208
|
+
- Add: Add `discorb run`
|
209
|
+
- Add: Add realtime documentation
|
210
|
+
|
211
|
+
## v0.3
|
212
|
+
|
213
|
+
### v0.3.1
|
214
|
+
|
215
|
+
- Add: Add `discorb show`
|
216
|
+
- Fix: Fix documenting
|
217
|
+
|
218
|
+
### v0.3.0
|
219
|
+
|
220
|
+
- Add: Improve CLI tools
|
221
|
+
- Add: Add `discorb init`
|
222
|
+
- Change: Change `discord-irb` to `discorb irb`
|
223
|
+
|
224
|
+
## v0.2
|
225
|
+
|
226
|
+
### v0.2.5
|
227
|
+
|
228
|
+
- Add: Add way to add event listener
|
229
|
+
- Change: Move document to https://discorb-lib.github.io/
|
230
|
+
|
231
|
+
### v0.2.4
|
232
|
+
|
233
|
+
- Fix: Fix error in `Embed#image=`, `Embed#thumbnail=`
|
234
|
+
|
235
|
+
### v0.2.3
|
236
|
+
|
237
|
+
- Fix: Fix critical error
|
238
|
+
|
239
|
+
### v0.2.2 (yanked)
|
240
|
+
|
241
|
+
- Add: Add `Snowflake#to_str`
|
242
|
+
|
243
|
+
### v0.2.1
|
244
|
+
|
245
|
+
- Fix: Fix NoMethodError in reaction event
|
246
|
+
- Add: Add Changelog.md to document
|
247
|
+
|
248
|
+
### v0.2.0
|
249
|
+
|
250
|
+
- Fix: Fix unused dependency
|
251
|
+
- Add: Add `Client#close!`
|
252
|
+
- Add: Add discord-irb
|
253
|
+
|
254
|
+
## v0.1
|
255
|
+
|
256
|
+
### v0.1.0
|
257
|
+
|
258
|
+
- Add: Add `User#created_at`
|
259
|
+
- Add: Add `Member#to_s_user`
|
260
|
+
- Add: Add `DefaultAvatar`
|
261
|
+
- Add: Support application commands
|
262
|
+
- Add: Add `Client#ping`
|
263
|
+
- Add: Allow `String` for `Embed#initialize`
|
264
|
+
- Change: Change log format
|
265
|
+
|
266
|
+
## v0.0
|
267
|
+
|
268
|
+
### v0.0.8
|
269
|
+
|
270
|
+
- Delete: Delete task parameter
|
271
|
+
|
272
|
+
### v0.0.7
|
273
|
+
|
274
|
+
- Fix: Fix `member_xxx` event
|
275
|
+
|
276
|
+
### v0.0.6
|
277
|
+
|
278
|
+
- Fix: Fix error in client without members intent
|
279
|
+
- Add: Add ThreadChannel::News
|
280
|
+
- Add: Add official discord link
|
281
|
+
|
282
|
+
### v0.0.5
|
283
|
+
|
284
|
+
- Fix: Fix GitHub link
|
285
|
+
- Change: Internet to HTTP
|
286
|
+
|
287
|
+
### v0.0.4
|
288
|
+
|
289
|
+
- Fix: Fix NoMethodError by webhook message
|
290
|
+
- Add: Add `#author` to webhook message
|
291
|
+
- Fix: Add `#bot?` to webhook author
|
292
|
+
|
293
|
+
### v0.0.3
|
294
|
+
|
295
|
+
- Fix: Fix no dependencies
|
296
|
+
|
297
|
+
### v0.0.2
|
298
|
+
|
299
|
+
- Fix: Fix rubygems description
|
300
|
+
|
301
|
+
### v0.0.1
|
302
|
+
|
303
|
+
- Initial release
|
304
|
+
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
<div align="center"><img src="./assets/banner.svg" alt="discorb"></div>
|
2
2
|
|
3
|
-
<div align="center"><a href="https://discorb-lib.github.io/"><img src="https://img.shields.io/badge/Document-discorb--lib.github.io-blue.svg?style=flat-square" alt="Document"></a>
|
4
|
-
<a href="https://rubygems.org/gems/discorb"><img src="https://img.shields.io/gem/dt/discorb?logo=rubygems&logoColor=fff&label=Downloads&style=flat-square" alt="Gem"></a>
|
5
|
-
<a href="https://rubygems.org/gems/discorb"><img src="https://img.shields.io/gem/v/discorb?logo=rubygems&logoColor=fff&label=Version&style=flat-square" alt="Gem"></a>
|
6
|
-
<a href="https://discord.gg/hCP6zq8Vpj"><img src="https://img.shields.io/discord/863581274916913193?logo=discord&logoColor=fff&color=5865f2&label=Discord&style=flat-square" alt="Discord"></a>
|
7
|
-
<a href="https://github.com/discorb-lib/discorb"><img src="https://img.shields.io/github/stars/discorb-lib/discorb?color=24292e&label=Stars&logo=GitHub&logoColor=fff&style=flat-square" alt="GitHub"></a></div>
|
3
|
+
<div align="center"><a href="https://discorb-lib.github.io/"><img src="https://img.shields.io/badge/Document-discorb--lib.github.io-blue.svg?style=flat-square&labelColor=2f3136" alt="Document"></a>
|
4
|
+
<a href="https://rubygems.org/gems/discorb"><img src="https://img.shields.io/gem/dt/discorb?logo=rubygems&logoColor=fff&label=Downloads&style=flat-square&labelColor=2f3136" alt="Gem"></a>
|
5
|
+
<a href="https://rubygems.org/gems/discorb"><img src="https://img.shields.io/gem/v/discorb?logo=rubygems&logoColor=fff&label=Version&style=flat-square&labelColor=2f3136" alt="Gem"></a>
|
6
|
+
<a href="https://discord.gg/hCP6zq8Vpj"><img src="https://img.shields.io/discord/863581274916913193?logo=discord&logoColor=fff&color=5865f2&label=Discord&style=flat-square&labelColor=2f3136" alt="Discord"></a>
|
7
|
+
<a href="https://github.com/discorb-lib/discorb"><img src="https://img.shields.io/github/stars/discorb-lib/discorb?color=24292e&label=Stars&logo=GitHub&logoColor=fff&style=flat-square&labelColor=2f3136" alt="GitHub"></a></div>
|
8
8
|
|
9
9
|
----
|
10
10
|
|
data/Rakefile
CHANGED
@@ -91,6 +91,7 @@ namespace :document do
|
|
91
91
|
require_relative "template-replace/scripts/index.rb"
|
92
92
|
require_relative "template-replace/scripts/yard_replace.rb"
|
93
93
|
require_relative "template-replace/scripts/favicon.rb"
|
94
|
+
require_relative "template-replace/scripts/arrow.rb"
|
94
95
|
iputs "Resetting changes"
|
95
96
|
Dir.glob("doc/#{version}/**/*.html") do |f|
|
96
97
|
next if (m = f.match(/[0-9]+\.[0-9]+\.[0-9]+(-[a-z]+)?/)) && m[0] != version
|
@@ -112,6 +113,8 @@ namespace :document do
|
|
112
113
|
yard_replace("doc/#{version}", version)
|
113
114
|
iputs "Adding favicon"
|
114
115
|
add_favicon("doc/#{version}")
|
116
|
+
iputs "Replacing arrow"
|
117
|
+
replace_arrow("doc/#{version}")
|
115
118
|
iputs "Successfully replaced htmls"
|
116
119
|
end
|
117
120
|
|
data/docs/application_command.md
CHANGED
@@ -60,13 +60,14 @@ In `options`, hash should be like this:
|
|
60
60
|
}
|
61
61
|
}
|
62
62
|
```
|
63
|
-
|
64
|
-
|
|
65
|
-
|
|
66
|
-
| `
|
67
|
-
| `
|
68
|
-
| `
|
69
|
-
| `
|
63
|
+
| Key | Type | Description |
|
64
|
+
| --- | --- | --- |
|
65
|
+
| `:description` | `String` | Description of the option. |
|
66
|
+
| `:required` | Whether the argument is required. `optional` will be used if not specified. |
|
67
|
+
| `:optional` | Whether the argument is optional. `required` will be used if not specified. |
|
68
|
+
| `:type` | `Object` | Type of the option. |
|
69
|
+
| `:choice` | `Hash{String => String, Integer, Float}` | Type of the option. |
|
70
|
+
| `:default` | `Object` | Default value of the option. |
|
70
71
|
|
71
72
|
`choices` should be unspecified if you don't want to use it.
|
72
73
|
`choices` is hash like this:
|
data/docs/cli/run.md
CHANGED
@@ -53,4 +53,8 @@ Whether to setup application commands.
|
|
53
53
|
|
54
54
|
#### `-e`, `--env`
|
55
55
|
|
56
|
-
The name of the environment variable to use for token, or just `-t` or `--token` for intractive prompt.
|
56
|
+
The name of the environment variable to use for token, or just `-t` or `--token` for intractive prompt.
|
57
|
+
|
58
|
+
#### `-b`, `--bundler`
|
59
|
+
|
60
|
+
Whether to use bundler to load the script.
|