zae 0.8.5 → 0.8.6

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/zae +42 -36
  3. data/lib/zae.rb +13 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 106f2b8766bfad6808958e5a5bc5acebb6af97bbddb07d6457353bd07bcbd8ad
4
- data.tar.gz: 94fc66fa4ad7031bf803dd1b9c4e24dbf62e3f6237d5a78b3fcbf2cf5ad9cb57
3
+ metadata.gz: c4bcde79d7d06a93298f6fe7cd6e34857db41d900d0e3bc66ec619a36b9760a4
4
+ data.tar.gz: 2c6051c44e368ea608fffec3c3997dc122f64a2e0a5fbb9121008d169394b6e3
5
5
  SHA512:
6
- metadata.gz: 06badcad035690c456d41adf3f76da3b3c040b0f3c4ccd449d358f09c667b2990da2e12967af62bfc1c29de479463907ced531ae9cbf74efc674fee7b3a26006
7
- data.tar.gz: 9e1415c9eadfe80df5f18698197065a4ae7eebd5f944b2758face0a43d6a73bd71241b43ab69e5679e63e47c4083b0b2b3e11cf3b92ea8816d8e6864a92b00bb
6
+ metadata.gz: 2870bdfdafab9c1810ce79648c653f4032779b1087f6d9f6bd5646f1ea1a6125370f793f71be26bec0b71a29141db1c15c8f0196225413acf16e86911c9447f0
7
+ data.tar.gz: 62e5128d832d1b7cd19a07e5ba9910cacd2c1bc986dae26f62221d25ebbe774148b5b0f918bc10dabaf98a14d806c476d216890fb8d7117f0f3025ea1b4b8f77
data/exe/zae CHANGED
@@ -35,6 +35,42 @@ module Zae
35
35
  # commands base
36
36
  commands = Commands.new
37
37
 
38
+ desc 'auto remove system residual packages dependencies'
39
+ arg_name ''
40
+ command :clean do |c|
41
+ c.action { |_, _, args| commands.clean args }
42
+ end
43
+
44
+ desc 'install dependencies packages of package'
45
+ arg_name ''
46
+ command :build do |c|
47
+ c.action { |_, _, args| commands.build args }
48
+ end
49
+
50
+ desc 'list all dependencies of package'
51
+ arg_name ''
52
+ command :depends do |c|
53
+ c.action { |_, _, args| commands.depends args }
54
+ end
55
+
56
+ desc 'download package binary'
57
+ arg_name 'package name'
58
+ command :download do |c|
59
+ c.action { |_, _, args| commands.download args }
60
+ end
61
+
62
+ desc 'help for one command'
63
+ arg_name 'package name'
64
+ command :help do |c|
65
+ c.action { |_, _, args| commands.help args }
66
+ end
67
+
68
+ desc 'view info about a specific package'
69
+ arg_name 'package name'
70
+ command :info do |c|
71
+ c.action { |_, _, args| commands.info args }
72
+ end
73
+
38
74
  desc 'install package(s) from repositories'
39
75
  arg_name 'package(s) name'
40
76
  command :install do |c|
@@ -42,6 +78,12 @@ module Zae
42
78
  c.action { |_, _, args| commands.install args }
43
79
  end
44
80
 
81
+ desc 'list installed packages'
82
+ arg_name ''
83
+ command :installed do |c|
84
+ c.action { |_, _, args| commands.installed args }
85
+ end
86
+
45
87
  desc 'remove one or more installed packages'
46
88
  arg_name 'package(s) name'
47
89
  command :remove do |c|
@@ -66,42 +108,6 @@ module Zae
66
108
  c.arg 'arguments'
67
109
  c.action { commands.upgrade }
68
110
  end
69
-
70
- desc 'auto remove system residual packages dependencies'
71
- arg_name ''
72
- command :autoremove do |c|
73
- c.action { |_, _, args| commands.autoremove args }
74
- end
75
-
76
- desc 'download package binary'
77
- arg_name 'package name'
78
- command :download do |c|
79
- c.action { |_, _, args| commands.download args }
80
- end
81
-
82
- desc 'list installed packages'
83
- arg_name ''
84
- command :installed do |c|
85
- c.action { |_, _, args| commands.installed args }
86
- end
87
-
88
- desc 'view info about a specific package'
89
- arg_name 'package name'
90
- command :info do |c|
91
- c.action { |_, _, args| commands.info args }
92
- end
93
-
94
- desc 'fix system package manager issues'
95
- arg_name 'packages'
96
- command :fix do |c|
97
- c.action { |_, _, args| commands.fix args }
98
- end
99
-
100
- desc 'package manager version'
101
- arg_name ''
102
- command :fix do |c|
103
- c.action { commands.version }
104
- end
105
111
  end
106
112
  end
107
113
 
data/lib/zae.rb CHANGED
@@ -1,5 +1,18 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Zae is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # Zae is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with Zae. If not, see <https://www.gnu.org/licenses/>.
15
+
3
16
  require_relative 'zae/commands'
4
17
  require_relative 'zae/permission'
5
18
  require_relative 'zae/translate'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - EAS Barbosa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli