vappman 0.8__py3-none-any.whl → 0.9__py3-none-any.whl

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.
vappman/main.py CHANGED
@@ -147,21 +147,21 @@ class Vappman:
147
147
  # EXPAND
148
148
  lines = [
149
149
  'ALWAYS AVAILABLE:',
150
- ' q or x - quit program (CTL-C disabled)',
151
150
  ' a - about (more info about app)',
152
151
  ' s - sync (update appman itself)',
153
152
  ' c - clean (remove unneeded files/folters)',
154
153
  ' U - update ALL installed apps',
155
- ' / - filter apps',
156
- ' ENTER = install, remove, or return from help',
154
+ ' q or x - quit program (CTL-C disabled)',
155
+ ' / - filter apps by keywords or regex',
157
156
  ' ESC = clear filter and jump to top',
157
+ ' ENTER = install, remove, or return from help',
158
158
  'CONTEXT SENSITIVE:',
159
159
  ' i - install uninstalled app',
160
160
  ' r - remove installed app',
161
- ' b - backup installed app',
162
161
  ' u - update installed app',
163
- ' t - test by opening a terminal emulator and launching the app'
162
+ ' b - backup installed app',
164
163
  ' o - overwrite app from its backup',
164
+ ' t - test by opening a terminal emulator and launching the app',
165
165
 
166
166
  ]
167
167
  for line in lines:
@@ -203,7 +203,7 @@ class Vappman:
203
203
  else:
204
204
  line += f' {key}:{verb}'
205
205
  # or EXPAND
206
- line += f' ?:help quit about sync clean Upd /{self.prev_filter} '
206
+ line += f' about sync clean Upd quit ?:help /{self.prev_filter} '
207
207
  # for action in self.actions:
208
208
  # line += f' {action[0]}:{action}'
209
209
  return line[1:]
@@ -219,9 +219,9 @@ class Vappman:
219
219
  # EXPAND
220
220
  if self.pick_is_installed:
221
221
  actions['r'] = 'rmv'
222
+ actions['u'] = 'upd'
222
223
  actions['b'] = 'bkup'
223
224
  actions['o'] = 'overwr'
224
- actions['u'] = 'upd'
225
225
  actions['t'] = 'test'
226
226
  else:
227
227
  actions['i'] = 'install'
@@ -241,6 +241,9 @@ class Vappman:
241
241
  wds = parts[0].split()
242
242
  this.win.head.pad.move(0, 0)
243
243
  for wd in wds:
244
+ if wd[0]in ('<', '|', '❚'):
245
+ this.win.add_header(wd + ' ', resume=True)
246
+ continue
244
247
  if wd:
245
248
  this.win.add_header(wd[0], attr=cs.A_BOLD|cs.A_UNDERLINE, resume=True)
246
249
  if wd[1:]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vappman
3
- Version: 0.8
3
+ Version: 0.9
4
4
  Summary: A visual wrapper for appman
5
5
  Author-email: Joe Defen <joedef@google.com>
6
6
  License: MIT
@@ -75,6 +75,7 @@ But it does NOT cover:
75
75
  ---
76
76
 
77
77
  NOTES: in this example:
78
+ * keys to the left of `❚` apply to the highlighted app; keys to the right apply globally.
78
79
  * the filter is `card` so it shows app lines with words starting with `card`.
79
80
  * the reverse video, current position is on `glabels`;
80
81
  thus if `i` (or ENTER) is typed, `appman install glabels` is run.
@@ -82,7 +83,7 @@ NOTES: in this example:
82
83
  all the filtered apps; otherwise, the decoration suggests where you are in the
83
84
  partial view of the filtered apps.
84
85
  * the matching installed app has the '✔✔✔' prefix.
85
- * the fixed top line shows some of the available action keys (e.g., `q` quits the app)
86
+ * the fixed top line shows mos of the available action keys (e.g., `q` quits the app)
86
87
  * use `?` to open the help screen describing all keys (including navigation)
87
88
 
88
89
  ## Screen Recording (Intro to vappman based on v0.7)
@@ -0,0 +1,9 @@
1
+ vappman/PowerWindow.py,sha256=pQGXsAMeuiHn-vtEiVG0rgW1eCslh3ukC-VrPhH_j3k,28587
2
+ vappman/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ vappman/main.py,sha256=LGHlf-cRy9HsGH5PBQY55D7oDzJg78HhOvKSom3dNyA,17218
4
+ vappman-0.9.dist-info/LICENSE,sha256=qB9OdnyyF6WYHiEIXVm0rOSdcf8e2ctorrtWs6CC5lU,1062
5
+ vappman-0.9.dist-info/METADATA,sha256=HaDJMX9uoKLT2PALNW5Q5DFWsBAO5lRcMTJARriwJbo,5012
6
+ vappman-0.9.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
7
+ vappman-0.9.dist-info/entry_points.txt,sha256=7_1MiUvkCJoElLePOCJYqhkQN4xmadBRQCKupOwzt90,46
8
+ vappman-0.9.dist-info/top_level.txt,sha256=5_Gb5oZh7s2-i62gLXZ6INVALAV9D0-yqh0TvNqpPC4,8
9
+ vappman-0.9.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- vappman/PowerWindow.py,sha256=pQGXsAMeuiHn-vtEiVG0rgW1eCslh3ukC-VrPhH_j3k,28587
2
- vappman/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- vappman/main.py,sha256=FBTCzbOa9dCyzTHX3ietF9_avrMRareYFxmnd65wc2M,17066
4
- vappman-0.8.dist-info/LICENSE,sha256=qB9OdnyyF6WYHiEIXVm0rOSdcf8e2ctorrtWs6CC5lU,1062
5
- vappman-0.8.dist-info/METADATA,sha256=BJMibKDn0HtJFZcvP55MtNLnqK1P77NeTFOHkaDTm7o,4921
6
- vappman-0.8.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
7
- vappman-0.8.dist-info/entry_points.txt,sha256=7_1MiUvkCJoElLePOCJYqhkQN4xmadBRQCKupOwzt90,46
8
- vappman-0.8.dist-info/top_level.txt,sha256=5_Gb5oZh7s2-i62gLXZ6INVALAV9D0-yqh0TvNqpPC4,8
9
- vappman-0.8.dist-info/RECORD,,
File without changes
File without changes