appydave-tools 0.57.0 → 0.59.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3aee3f399bf110dccfd53195a11006bc0430e0bfffdd4bbf8059a960023cf0e3
4
- data.tar.gz: 796119562e6695aa8d3987626c3559867b48283d3ace69b43639b24700043a58
3
+ metadata.gz: f495360102f6be7cde4ad124c01182779b69279b3865acf93f4b0ba784f5dd66
4
+ data.tar.gz: 8954dd4f6e830c94dc51dc3f4de6ebcf6a1c917a480c38f0172ab3d81930a793
5
5
  SHA512:
6
- metadata.gz: bc3b9ecd61a80302a04ad6e2980e31393c9bf70acb135f16086e1dd5d316ab0016a9de3e95b8e06957c2560306a977290f704ae0b11f2f6ea1ef50c2cec65ed3
7
- data.tar.gz: fcb6f31b35119a44324e54bb8141ea4d4009b1dda7a2714c57940e2604eba0bbd6e7126356a0353f386bd7d678558e127789922e7514564104a8de97801e5fcf
6
+ metadata.gz: c18165d91e7d7998759f2638e93a2c44ce1a7e1a601100993893b6ca1f76349201bcb6de6fee96d546c384ac2ae12094442dee103da4c23036a2d96d4d98fdc4
7
+ data.tar.gz: ae3e8319caa1cad8de689c1cbd8e2ccb8bd22cfe1984e4405ac2e4f64346a37362e56f50f216063b3127701bb2b39428ae072095df25643992331a3dda55c5a0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [0.58.0](https://github.com/appydave/appydave-tools/compare/v0.57.0...v0.58.0) (2025-11-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * implement compact brand list format showing 'shortcut (key) - Name' ([8e38a77](https://github.com/appydave/appydave-tools/commit/8e38a775a60e3e06b14c793293f4046552a5eaf4)), closes [#34](https://github.com/appydave/appydave-tools/issues/34)
7
+
8
+ # [0.57.0](https://github.com/appydave/appydave-tools/compare/v0.56.0...v0.57.0) (2025-11-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * add last modified timestamp to project status header ([805484d](https://github.com/appydave/appydave-tools/commit/805484d6f34e1fcc47fe7113480dd5c982b2471c)), closes [#49](https://github.com/appydave/appydave-tools/issues/49)
14
+
1
15
  # [0.56.0](https://github.com/appydave/appydave-tools/compare/v0.55.0...v0.56.0) (2025-11-22)
2
16
 
3
17
 
@@ -20,13 +20,24 @@ module Appydave
20
20
 
21
21
  # Gather brand data
22
22
  brand_data = brands.map do |brand|
23
+ Appydave::Tools::Configuration::Config.configure
24
+ brand_info = Appydave::Tools::Configuration::Config.brands.get_brand(brand)
23
25
  brand_path = Config.brand_path(brand)
24
26
  projects = ProjectResolver.list_projects(brand)
25
27
  total_size = calculate_total_size(brand, projects)
26
28
  last_modified = find_last_modified(brand, projects)
27
29
 
30
+ # Get shortcut, key, and name with fallbacks
31
+ shortcut = brand_info.shortcut&.strip
32
+ shortcut = nil if shortcut&.empty?
33
+ key = brand_info.key
34
+ name = brand_info.name&.strip
35
+ name = nil if name&.empty?
36
+
28
37
  {
29
- name: brand,
38
+ shortcut: shortcut || key,
39
+ key: key,
40
+ name: name || key.capitalize,
30
41
  path: brand_path,
31
42
  count: projects.size,
32
43
  size: total_size,
@@ -35,14 +46,18 @@ module Appydave
35
46
  end
36
47
 
37
48
  # Print table header
38
- puts 'BRAND PROJECTS SIZE LAST MODIFIED PATH'
39
- puts '-' * 120
49
+ puts 'BRAND KEY PROJECTS SIZE LAST MODIFIED PATH'
50
+ puts '-' * 130
40
51
 
41
52
  # Print table rows
42
53
  brand_data.each do |data|
54
+ # Format: "shortcut - Name" (simplified display)
55
+ brand_display = "#{data[:shortcut]} - #{data[:name]}"
56
+
43
57
  puts format(
44
- '%-20s %10d %12s %20s %s',
45
- data[:name],
58
+ '%-30s %-12s %10d %12s %20s %s',
59
+ brand_display,
60
+ data[:key],
46
61
  data[:count],
47
62
  format_size(data[:size]),
48
63
  format_date(data[:modified]),
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.57.0'
5
+ VERSION = '0.59.0'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "description": "AppyDave YouTube Automation Tools",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appydave-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys