pennyworth 11.0.0 → 11.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.adoc +221 -79
- data/lib/pennyworth/cli/configuration/defaults.yml +25 -2
- data/lib/pennyworth/cli/shell.rb +0 -1
- data/lib/pennyworth/identity.rb +1 -1
- data/lib/pennyworth/inflector.rb +1 -1
- data/lib/pennyworth/presenters/gem.rb +1 -1
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f3d1a0177861844ef22b9039f9ac67c5518f0538571de20fa79352a89a40b22
|
4
|
+
data.tar.gz: 010e4c40c7a936f20bf21a8129643eb8f25765c91df4b05bc43e09aaa12385b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e678be3cc98c358b8fd2ff0525ac5e68d767bdf72a4d910050e345212c590f13cfdfeab39fe4d0b84603009576accda78de087747be874a8d71da966092b5d3
|
7
|
+
data.tar.gz: d37c34bf5b63cec0279d9bd1e630a8b94c56fe6bff4956d2875eb9b6580e8b9ccda9f7ef625de01fc7931190260348a385e181b4fbf7e1dc80c490d63fa7d13d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
:toclevels: 5
|
3
3
|
:figure-caption!:
|
4
4
|
|
5
|
+
:frum_link: link:https://github.com/tako8ki/frum[Frum]
|
6
|
+
|
5
7
|
= Pennyworth
|
6
8
|
|
7
9
|
[link=http://badge.fury.io/rb/pennyworth]
|
@@ -11,25 +13,27 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
|
|
11
13
|
[link=https://circleci.com/gh/bkuhlmann/pennyworth]
|
12
14
|
image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
|
13
15
|
|
14
|
-
A command line interface that
|
16
|
+
A command line interface that augments link:https://www.alfredapp.com[Alfred] workflows.
|
15
17
|
|
16
18
|
toc::[]
|
17
19
|
|
18
20
|
== Features
|
19
21
|
|
20
|
-
* Adds Ruby support to link:https://www.alfredapp.com
|
22
|
+
* Adds Ruby support to link:https://www.alfredapp.com[Alfred].
|
23
|
+
* Supports building advanced link:https://www.alfredapp.com/help/workflows[Workflows] for personal
|
24
|
+
augmentation.
|
21
25
|
|
22
26
|
== Screencast
|
23
27
|
|
24
|
-
video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[width=
|
28
|
+
video::https://www.alchemists.io/videos/projects/pennyworth/demo.mp4[poster=https://www.alchemists.io/images/projects/pennyworth/demo.png,width=700,height=636,role=focal_point]
|
25
29
|
|
26
30
|
== Requirements
|
27
31
|
|
28
32
|
. link:https://www.apple.com/macos[macOS]
|
33
|
+
. link:https://www.gnu.org/software/bash[Bash]
|
29
34
|
. link:https://www.alfredapp.com[Alfred]
|
30
35
|
. link:https://www.alfredapp.com/purchase[Alfred Powerpack]
|
31
|
-
.
|
32
|
-
. link:https://github.com/postmodern/chruby[chruby]
|
36
|
+
. {frum_link}
|
33
37
|
. link:https://www.ruby-lang.org[Ruby]
|
34
38
|
|
35
39
|
== Setup
|
@@ -41,8 +45,9 @@ To install, run:
|
|
41
45
|
gem install pennyworth
|
42
46
|
----
|
43
47
|
|
44
|
-
When using the
|
45
|
-
with at least _read_ access via the
|
48
|
+
When using the `--git_hub` CLI option, you'll want to supply your GitHub login and
|
49
|
+
link:https://github.com/settings/tokens[Personal Access Token] with at least _read_ access via the
|
50
|
+
following environment variables:
|
46
51
|
|
47
52
|
[source,bash]
|
48
53
|
----
|
@@ -54,11 +59,15 @@ You can configure these environment variables via link:https://direnv.net[direnv
|
|
54
59
|
or through the link:https://www.alfredapp.com/help/workflows/advanced/variables/#environment[Alfred
|
55
60
|
Workflow Environment].
|
56
61
|
|
62
|
+
⚠️ When using Alfred Workflow environment variables, please ensure you check the _Don't Export_
|
63
|
+
option for these variables so you don't expose your credentials when exporting/sharing workflows
|
64
|
+
with others.
|
65
|
+
|
57
66
|
== Usage
|
58
67
|
|
59
68
|
=== Command Line Interface (CLI)
|
60
69
|
|
61
|
-
From the command line, type `pennyworth` to
|
70
|
+
From the command line, type `pennyworth` to view usage:
|
62
71
|
|
63
72
|
....
|
64
73
|
USAGE:
|
@@ -81,7 +90,7 @@ RUBYGEMS OPTIONS:
|
|
81
90
|
--owner [HANDLE] Set owner. Default: "".
|
82
91
|
....
|
83
92
|
|
84
|
-
The following demonstrates how to use Pennyworth from the CLI or within an Alfred
|
93
|
+
The following demonstrates how to use Pennyworth from the CLI or within an Alfred Script Filter:
|
85
94
|
|
86
95
|
[source,bash]
|
87
96
|
----
|
@@ -133,8 +142,8 @@ The default configuration is as follows:
|
|
133
142
|
- "Mac Os Config": "macOS Configuration"
|
134
143
|
- "Mac Os": "MacOS"
|
135
144
|
- "Prawn Plus": "Prawn+"
|
136
|
-
- "Rubocop Ast": "Rubocop
|
137
|
-
- "Rubocop Md": "Rubocop
|
145
|
+
- "Rubocop Ast": "Rubocop AST"
|
146
|
+
- "Rubocop Md": "Rubocop Markdown"
|
138
147
|
- "Rubocop Rspec": "Rubocop RSpec"
|
139
148
|
- "Xdg": "XDG"
|
140
149
|
:git_hub:
|
@@ -154,122 +163,255 @@ Feel free to take this default configuration, modify, and save as your own custo
|
|
154
163
|
|
155
164
|
=== Themes
|
156
165
|
|
157
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/
|
166
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-theme.png[Alchemists Theme,width=634,height=121,role=focal_point]
|
158
167
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
1. link:https://www.alchemists.io/public/aflred/themes/alchemists.alfredappearance[Download] (right
|
164
|
-
click) theme.
|
165
|
-
1. Double click to install.
|
168
|
+
The above is shared as the link:https://www.alfredapp.com/extras/theme/FSz9kjN1wX[Alchemists Alfred
|
169
|
+
Theme] which can be
|
170
|
+
link:alfred://theme/?t=eyJhbGZyZWR0aGVtZSI6eyJyZXN1bHQiOnsidGV4dFNwYWNpbmciOjEwLCJzdWJ0ZXh0Ijp7InNpemUiOjEyLCJjb2xvclNlbGVjdGVkIjoiI0Q2RDZENkZGIiwiZm9udCI6IkhlbHZldGljYSIsImNvbG9yIjoiI0Q2RDZENkZGIn0sInNob3J0Y3V0Ijp7InNpemUiOjE2LCJjb2xvclNlbGVjdGVkIjoiI0ZGRkZGRkZGIiwiZm9udCI6IkhlbHZldGljYSIsImNvbG9yIjoiI0ZFRkNGRkZGIn0sImJhY2tncm91bmRTZWxlY3RlZCI6IiNBMDI2MThGRiIsInRleHQiOnsic2l6ZSI6MTYsImNvbG9yU2VsZWN0ZWQiOiIjRkZGRkZGRkYiLCJmb250IjoiSGVsdmV0aWNhIiwiY29sb3IiOiIjRTFERURFRkYifSwiaWNvblBhZGRpbmdIb3Jpem9udGFsIjo1LCJyb3VuZG5lc3MiOjAsInBhZGRpbmdWZXJ0aWNhbCI6NiwiaWNvblNpemUiOjQwfSwic2VhcmNoIjp7ImJhY2tncm91bmRTZWxlY3RlZCI6IiNCMkQ3RkZGRiIsInBhZGRpbmdIb3Jpem9udGFsIjo4LCJzcGFjaW5nIjoxMCwidGV4dCI6eyJzaXplIjozNiwiY29sb3JTZWxlY3RlZCI6IiMwMDAwMDBGRiIsImZvbnQiOiJIZWx2ZXRpY2EiLCJjb2xvciI6IiNGRkZGRkZGRiJ9LCJiYWNrZ3JvdW5kIjoiIzEyMTIxMkZGIiwicm91bmRuZXNzIjowLCJwYWRkaW5nVmVydGljYWwiOjJ9LCJ3aW5kb3ciOnsiY29sb3IiOiIjNzAwQTAwRkYiLCJwYWRkaW5nSG9yaXpvbnRhbCI6MTAsIndpZHRoIjo2MjAsImJvcmRlclBhZGRpbmciOjEwLCJib3JkZXJDb2xvciI6IiMwMDAwMDAzRiIsImJsdXIiOjAsInJvdW5kbmVzcyI6MTIsInBhZGRpbmdWZXJ0aWNhbCI6MTB9LCJjcmVkaXQiOiJCcm9va2UgS3VobG1hbm4iLCJzZXBhcmF0b3IiOnsiY29sb3IiOiIjMDAwMDAwNjYiLCJ0aGlja25lc3MiOjJ9LCJzY3JvbGxiYXIiOnsiY29sb3IiOiIjMDAwMDAwNjYiLCJ0aGlja25lc3MiOjJ9LCJuYW1lIjoiQWxjaGVtaXN0cyJ9fQ==[installed
|
171
|
+
directly].
|
166
172
|
|
167
173
|
=== Workflows
|
168
174
|
|
169
175
|
Not all workflows require Pennyworth to run properly. For the workflows that _do_ require Pennyworth
|
170
176
|
support, the following assumptions are made:
|
171
177
|
|
172
|
-
1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use
|
173
|
-
load your environment appropriately.
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
+
1. Your link:https://www.alchemists.io/projects/dotfiles[Dotfiles] are configured to use
|
179
|
+
link:https://www.gnu.org/software/bash[Bash] and load your environment appropriately. Bash is not
|
180
|
+
a hard requirement, though. You can use _any shell_ you are comfortable with as long as you teach
|
181
|
+
Alfred to load your development environment before running the Alfred Workflow.
|
182
|
+
2. You have the latest version of Alfred, Ruby, and Pennyworth installed.
|
183
|
+
3. You are using a Ruby version manager, like {frum_link}, which ensures Ruby is on your load path.
|
178
184
|
|
179
|
-
|
185
|
+
With the above requirements in mind, the following sections document how to download and install all
|
186
|
+
Pennyworth workflows that are compatible with Alfred. Should you want to tweak any of these
|
187
|
+
workflows, you'd only need to edit an existing workflow or build your own with these settings:
|
180
188
|
|
181
|
-
|
182
|
-
work yourself. I've already built the corresponding workflows. The following sections will allow you
|
183
|
-
to download and use the corresponding Alfred Workflows that are powered by Pennyworth.
|
189
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/script_filter.png[Script Filter,width=776,height=635,role=focal_point]
|
184
190
|
|
185
|
-
Before diving into each workflow, the following
|
186
|
-
depending on what kind of item is selected
|
191
|
+
Before diving into each workflow, I want to highlight that the following capabilities are available
|
192
|
+
to all workflows depending on what kind of item is currently selected within the Alfred UI:
|
187
193
|
|
188
|
-
* `SHIFT` or `COMMAND + y` will launch
|
189
|
-
|
190
|
-
* `COMMAND +
|
194
|
+
* `SHIFT` or `COMMAND + y` will launch
|
195
|
+
link:https://www.alfredapp.com/help/features/previews[Quicklook] for any URL based workflow.
|
196
|
+
* `ENTER` or `COMMAND + c` will copy selections to clipboard (depends on context, though).
|
197
|
+
* `COMMAND + l` will launch link:https://www.alfredapp.com/help/features/large-type[Large Type] of
|
198
|
+
current selection.
|
191
199
|
* `ENTER` Will either copy selection to clipboard or launch URL in default web browser.
|
192
200
|
|
193
201
|
==== Alchemists
|
194
202
|
|
195
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/
|
203
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alchemists-projects.png[Alchemists Projects,width=706,height=632,role=focal_point]
|
204
|
+
|
205
|
+
The official link:https://www.alchemists.io[Alchemists] workflow for site navigation.
|
196
206
|
|
197
|
-
1. link:https://www.alchemists.io/public/aflred/workflows/alchemists.alfredworkflow[Download]
|
198
|
-
click
|
199
|
-
|
207
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/alchemists.alfredworkflow[Download] and
|
208
|
+
double click to install.
|
209
|
+
2. Type `ax` to activate.
|
200
210
|
|
201
|
-
💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source,
|
211
|
+
💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
|
202
212
|
view issues.
|
203
213
|
|
204
214
|
==== Dry RB
|
205
215
|
|
206
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/
|
216
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/dry-gems.png[Dry Gems,width=706,height=632,role=focal_point]
|
207
217
|
|
208
|
-
|
209
|
-
1. Type `dry` to activate.
|
218
|
+
A link:https://dry-rb.org[Dry RB] workflow for navigating all of the Dry RB site.
|
210
219
|
|
211
|
-
|
220
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/dry.alfredworkflow[Download] and double
|
221
|
+
click to install.
|
222
|
+
2. Type `dry` to activate general information and `dryx` for project list.
|
223
|
+
|
224
|
+
💡 Use `ENTER` to visit site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
|
212
225
|
view issues.
|
213
226
|
|
214
|
-
====
|
227
|
+
==== Rubocop
|
228
|
+
|
229
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/rubocop-projects.png[Rubocop Projects,width=706,height=632,role=focal_point]
|
215
230
|
|
216
|
-
|
231
|
+
A link:https://docs.rubocop.org/rubocop[Rubocop] workflow for quick access to documentation,
|
232
|
+
learning about project changes, viewing source code, etc.
|
217
233
|
|
218
|
-
1. link:https://www.alchemists.io/public/aflred/workflows/
|
219
|
-
|
234
|
+
1. link:https://www.alchemists.io/public/aflred/workflows/rubocop.alfredworkflow[Download] and
|
235
|
+
double click to install.
|
236
|
+
2. Type `cop` to activate.
|
220
237
|
|
221
|
-
💡 Use `ENTER` to
|
238
|
+
💡 Use `ENTER` to view site, `CONTROL` to view changes, `OPTION` to view source, or `COMMAND` to
|
239
|
+
view issues.
|
222
240
|
|
223
|
-
====
|
241
|
+
==== Ruby
|
224
242
|
|
225
|
-
|
243
|
+
This workflow is feature packed and only requires a
|
244
|
+
link:https://www.alchemists.io/public/aflred/workflows/ruby.alfredworkflow[single download]. Once
|
245
|
+
downloaded, double click to install, and then continue reading to learn all of the
|
246
|
+
capabilities this single workflow provides.
|
226
247
|
|
227
|
-
|
228
|
-
1. Type `https` to activate.
|
248
|
+
===== Bytes
|
229
249
|
|
230
|
-
|
231
|
-
documentation.
|
250
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-bytes.png[Bytes,width=706,height=200,role=focal_point]
|
232
251
|
|
233
|
-
|
252
|
+
This keyword allows you to generate random bytes.
|
234
253
|
|
235
|
-
|
254
|
+
Type `bytes` to activate and `ENTER` generate. You can supply an optional number for specific
|
255
|
+
length.
|
236
256
|
|
237
|
-
|
238
|
-
click).
|
239
|
-
1. Type `cop` to activate.
|
257
|
+
===== Encodings
|
240
258
|
|
241
|
-
|
242
|
-
|
259
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-encodings.png[Encodings,width=706,height=632,role=focal_point]
|
260
|
+
|
261
|
+
This keyword allows you to quickly search for various encodings and/or their associated aliases to
|
262
|
+
use in your own code.
|
263
|
+
|
264
|
+
Type `encodings` to activate. Use `ENTER` to copy label or `OPTION` to copy associated aliases to
|
265
|
+
clipboard.
|
266
|
+
|
267
|
+
===== Hex
|
268
|
+
|
269
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-hex.png[Hex,width=706,height=200,role=focal_point]
|
270
|
+
|
271
|
+
This keyword allows you to generate a random hex string.
|
272
|
+
|
273
|
+
Type `hex` to activate and `ENTER` generate. You can supply an optional number for specific length.
|
274
|
+
|
275
|
+
===== HTTP Statuses
|
276
|
+
|
277
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-http_statuses.png[HTTP Statuses,width=706,height=632,role=focal_point]
|
278
|
+
|
279
|
+
This keyword allows you to look up statuses by code with quick access to the associated symbol for
|
280
|
+
use in your own code. Includes associated documentation for sharing or learning more. All HTTP
|
281
|
+
statuses are sourced from `Rack::Utils::HTTP_STATUS_CODES` which is why
|
282
|
+
link:https://rubygems.org/gems/rack[Rack] is a dependency of this gem and also why some codes might
|
283
|
+
not be present like these
|
284
|
+
link:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes[unofficial codes].
|
285
|
+
|
286
|
+
Type `https` to activate. Use `ENTER` to copy symbol, `CONTROL` to copy code, `OPTION` to copy
|
287
|
+
label, or `COMMAND` to view documentation.
|
288
|
+
|
289
|
+
===== Links
|
290
|
+
|
291
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-links.png[Links,width=706,height=632,role=focal_point]
|
292
|
+
|
293
|
+
This keyword allows you to navigate to additional Ruby related information and resources.
|
294
|
+
|
295
|
+
Type `rb` plus `SPACE` to activate, then fuzzy type to filter the list to what you are looking for,
|
296
|
+
and hit `ENTER` to visit the link in your default browser.
|
297
|
+
|
298
|
+
===== Number
|
299
|
+
|
300
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-number.png[Number,width=706,height=200,role=focal_point]
|
301
|
+
|
302
|
+
This keyword allows you to generate a random number.
|
303
|
+
|
304
|
+
Type `number` to activate and `ENTER` generate. You can supply an optional number for specific
|
305
|
+
length.
|
306
|
+
|
307
|
+
===== Repeat
|
308
|
+
|
309
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-repeat.png[Repeat,width=706,height=200,role=focal_point]
|
310
|
+
|
311
|
+
This keyword allows you to generate a repeating sequence of the same character(s).
|
312
|
+
|
313
|
+
Type `repeat` to activate and `ENTER` generate. You must supply the character(s) you want to repeat
|
314
|
+
followed by a number indicating how many times you want the character(s) to repeat.
|
315
|
+
|
316
|
+
===== System Errors
|
317
|
+
|
318
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_errors.png[System Errors,width=706,height=632,role=focal_point]
|
319
|
+
|
320
|
+
This keyword allows you to search low-level system errors. Depending on which operating system you
|
321
|
+
are on, these errors will differ. Error IDs are provided for fuzzy searching since they are what
|
322
|
+
you'll most likely see in your stack dumps. The associated constant can be copied to clipboard for
|
323
|
+
use in your Ruby code.
|
324
|
+
|
325
|
+
Type `syserr` to activate. Use `ENTER` to copy constant, `CONTROL` to copy ID, `OPTION` to copy
|
326
|
+
description, or `COMMAND` to copy ID, name, and description.
|
327
|
+
|
328
|
+
===== System Signals
|
329
|
+
|
330
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-system_signals.png[System Signals,width=706,height=632,role=focal_point]
|
331
|
+
|
332
|
+
This keyword is for searching and acquiring the system signal you want to `trap` in your Ruby code.
|
333
|
+
|
334
|
+
Type `signals` to activate. Use `ENTER` to copy name, `OPTION` to copy ID, or `COMMAND` to copy ID
|
335
|
+
and name.
|
336
|
+
|
337
|
+
===== Text
|
338
|
+
|
339
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-text.png[Text,width=706,height=632,role=focal_point]
|
340
|
+
|
341
|
+
This keyword is for is for basic text manipulation. Supply a string, phrase, or sentence and let
|
342
|
+
Pennyworth calculate all transformations and information you might need.
|
343
|
+
|
344
|
+
Type `text` to activate plus andy string or phrase to transform. Use `ENTER` to copy text to
|
345
|
+
clipboard.
|
346
|
+
|
347
|
+
===== UUID
|
348
|
+
|
349
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-uuid.png[UUID,width=706,height=200,role=focal_point]
|
350
|
+
|
351
|
+
This keyword allows you to generate a random Universally Unique IDentifier (UUID).
|
352
|
+
|
353
|
+
Type `uuid` to activate and `ENTER` generate.
|
243
354
|
|
244
|
-
|
355
|
+
===== Version
|
245
356
|
|
246
|
-
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/
|
357
|
+
image:https://www.alchemists.io/images/projects/pennyworth/screenshots/ruby-version.png[Version,width=706,height=254,role=focal_point]
|
247
358
|
|
248
|
-
|
249
|
-
1. Type `syserr` to activate.
|
359
|
+
This keyword allows you obtain Ruby version information.
|
250
360
|
|
251
|
-
|
252
|
-
|
361
|
+
Type `version` to activate and `ENTER` generate. Optionally, you can press `OPTION` when selected to
|
362
|
+
answer the Ruby version used by Alfred since Alfred defaults to using whatever version is supplied
|
363
|
+
by macOS.
|
253
364
|
|
254
|
-
====
|
365
|
+
==== Other
|
255
366
|
|
256
|
-
|
367
|
+
The following workflows don't require Pennyworth support but are provided for convenience in case
|
368
|
+
they are of interest/aid to your own productivity. Click each link to download and then double click
|
369
|
+
to install:
|
257
370
|
|
258
|
-
|
259
|
-
|
260
|
-
|
371
|
+
* link:https://www.alchemists.io/public/aflred/workflows/acronyms.alfredworkflow[Acronyms] - Expands
|
372
|
+
acronyms into full explanations so you can think and type in terms of an acronym but appear as if
|
373
|
+
you typed out the full definition each time.
|
374
|
+
* https://www.alchemists.io/public/aflred/workflows/alpine.alfredworkflow[Alpine] - Provides
|
375
|
+
link:https://www.alpinelinux.org[Alpine Linux] resources.
|
376
|
+
* link:https://www.alchemists.io/public/aflred/workflows/applications.alfredworkflow[Applications] -
|
377
|
+
Launches development environment but can be tweaked for your preferences. Using Alfred in this
|
378
|
+
manner ensures your machine boots or restarts quickly and gives you more control over what is
|
379
|
+
launched.
|
380
|
+
* link:https://www.alchemists.io/public/aflred/workflows/browsers.alfredworkflow[Browsers] -
|
381
|
+
Provides browser related utilities.
|
382
|
+
* link:https://www.alchemists.io/public/aflred/workflows/bundler.alfredworkflow[Bundler] - Provides
|
383
|
+
quick access to link:https://bundler.io[Bundler] related resources.
|
384
|
+
* link:https://www.alchemists.io/public/aflred/workflows/hanami.alfredworkflow[Hanami] - Provides
|
385
|
+
link:https://hanamirb.org[Hanami] resources.
|
386
|
+
* link:https://www.alchemists.io/public/aflred/workflows/chlli.alfredworkflow[chi.li] - Shortens
|
387
|
+
URLs using link:https://chl.li[chl.li].
|
388
|
+
* link:https://www.alchemists.io/public/aflred/workflows/docker.alfredworkflow[Docker] - Provides
|
389
|
+
link:https://www.docker.com[Docker] resources.
|
390
|
+
* link:https://www.alchemists.io/public/aflred/workflows/mac_os.alfredworkflow[macOS] - Provides
|
391
|
+
macOS utilities.
|
392
|
+
* link:https://www.alchemists.io/public/aflred/workflows/terraform.alfredworkflow[Terraform] -
|
393
|
+
Provides link:https://www.terraform.io[Terraform] resources.
|
394
|
+
* link:https://www.alchemists.io/public/aflred/workflows/text.alfredworkflow[Text] - Provides
|
395
|
+
general text manipulation utilities beyond the Pennyworth powered _text_ keyword (mentioned
|
396
|
+
earlier).
|
261
397
|
|
262
|
-
|
398
|
+
== Architecture
|
263
399
|
|
264
|
-
|
400
|
+
The following documents the workfow used to process all actions from Alfred.
|
265
401
|
|
266
|
-
image
|
402
|
+
image::https://www.alchemists.io/images/projects/pennyworth/doc/architecture.svg[Architecture Diagram]
|
267
403
|
|
268
|
-
|
269
|
-
click).
|
270
|
-
1. Type `text` plus your text to transform to activate.
|
404
|
+
== Troubleshooting
|
271
405
|
|
272
|
-
|
406
|
+
* link:https://github.com/ruby/psych[Psych] 4.0.0 has a
|
407
|
+
link:https://github.com/ruby/psych/issues/490[bug] which prevents loading of YAML configurations
|
408
|
+
that use symbols as keys. If you get caught by this, please upgrade to Psych 4.0.1 for the fix.
|
409
|
+
* When your Alfred Workflow yields no output, you might want to open the
|
410
|
+
link:https://www.alfredapp.com/help/workflows/utilities/debug[Alfred Debugger], rerun your
|
411
|
+
workflow, and check for errors. You can also jump to the CLI and run Pennyworth directly.
|
412
|
+
* If you get GitHub authorization errors, make sure you have defined the appropriate credentials
|
413
|
+
(mentioned earlier) for both within your shell where you are running Pennyworth or within the
|
414
|
+
Alfred Workflow environment.
|
273
415
|
|
274
416
|
== Development
|
275
417
|
|
@@ -9,9 +9,32 @@
|
|
9
9
|
- "Mac Os Config": "macOS Configuration"
|
10
10
|
- "Mac Os": "MacOS"
|
11
11
|
- "Prawn Plus": "Prawn+"
|
12
|
-
- "Rubocop Ast": "Rubocop
|
13
|
-
- "Rubocop Md": "Rubocop
|
12
|
+
- "Rubocop Ast": "Rubocop AST"
|
13
|
+
- "Rubocop Md": "Rubocop Markdown"
|
14
14
|
- "Rubocop Rspec": "Rubocop RSpec"
|
15
|
+
- "Tty Box": "TTY Box"
|
16
|
+
- "Tty Color": "TTY Color"
|
17
|
+
- "Tty Command": "TTY Command"
|
18
|
+
- "Tty Config": "TTY Config"
|
19
|
+
- "Tty Cursor": "TTY Cursor"
|
20
|
+
- "Tty Editor": "TTY Editor"
|
21
|
+
- "Tty File": "TTY File"
|
22
|
+
- "Tty Font": "TTY Font"
|
23
|
+
- "Tty Link": "TTY Link"
|
24
|
+
- "Tty Logger": "TTY Logger"
|
25
|
+
- "Tty Markdown": "TTY Markdown"
|
26
|
+
- "Tty Option": "TTY Option"
|
27
|
+
- "Tty Pager": "TTY Pager"
|
28
|
+
- "Tty Pie": "TTY Pie"
|
29
|
+
- "Tty Platform": "TTY Platform"
|
30
|
+
- "Tty Progressbar": "TTY ProgressBar"
|
31
|
+
- "Tty Prompt": "TTY Prompt"
|
32
|
+
- "Tty Reader": "TTY Reader"
|
33
|
+
- "Tty Screen": "TTY Screen"
|
34
|
+
- "Tty Spinner": "TTY Spinner"
|
35
|
+
- "Tty Table": "TTY Table"
|
36
|
+
- "Tty Tree": "TTY Tree"
|
37
|
+
- "Tty Which": "TTY Which"
|
15
38
|
- "Xdg": "XDG"
|
16
39
|
:git_hub:
|
17
40
|
:api_url: "https://api.github.com"
|
data/lib/pennyworth/cli/shell.rb
CHANGED
data/lib/pennyworth/identity.rb
CHANGED
data/lib/pennyworth/inflector.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pennyworth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-08-22 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.8'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.8'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: http
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.2.
|
216
|
+
rubygems_version: 3.2.26
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: A command line interface that augments Alfred workflows.
|
metadata.gz.sig
CHANGED
Binary file
|