@ahqstore/cli 0.11.1 → 0.11.2

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.
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  edition = "2021"
3
3
  name = "ahqstore_cli_rs"
4
- version = "0.11.1"
4
+ version = "0.11.2"
5
5
  description = "AHQ Store CLI"
6
6
  repository = "https://github.com/ahqstore/cli"
7
7
  homepage = "https://github.com/ahqstore/cli"
package/README.md CHANGED
@@ -10,6 +10,7 @@ The original CLI has been written in rust lang and we're quite excited to tell y
10
10
  - [jsr (Port)](https://jsr.io/@ahqstore/cli)
11
11
  - [PyPi (Port)](https://pypi.org/project/ahqstore-cli/)
12
12
  - [Nuget (Port)](https://www.nuget.org/packages/AHQStoreCLI)
13
+ - [Pub.dev (Port)](https://pub.dev/packages/ahqstore_cli)
13
14
  - [Golang (Port; See Installation Guide Below)](#golang)
14
15
 
15
16
  All the platforms use the same codebase (the rust codebase). We're making use of the C-Abi to
@@ -22,6 +23,7 @@ make the CLI compatible to the following languages/runtimes:
22
23
  - Python
23
24
  - .NET C#
24
25
  - Golang
26
+ - Dart
25
27
 
26
28
  # Usage
27
29
 
@@ -62,7 +64,7 @@ deno install -g npm:@ahqstore/cli
62
64
  ### Using JSR
63
65
 
64
66
  ```sh
65
- deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.11.1/js/cli.js
67
+ deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.11.2/js/cli.js
66
68
  ```
67
69
 
68
70
  ## Bun
@@ -85,6 +87,12 @@ Since GoLang mainly works with repositories. We've set up a mirror repo so that
85
87
  go install github.com/ahqstore/cli-go/ahqstore@latest
86
88
  ```
87
89
 
90
+ ## Dart
91
+
92
+ ```sh
93
+ dart pub global deactivate ahqstore_cli
94
+ ```
95
+
88
96
  ## .NET C#
89
97
 
90
98
  ```sh
@@ -0,0 +1,3 @@
1
+ ## 0.0.1
2
+
3
+ -
package/dart/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 AHQ Store
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dart/README.md ADDED
@@ -0,0 +1,100 @@
1
+ # AHQ Store CLI
2
+
3
+ Read more about it [here](https://ahqstore.github.io)
4
+
5
+ This is the Official AHQ Store CLI and the CLI with the most number of ports.
6
+ The original CLI has been written in rust lang and we're quite excited to tell you how versatile this tool actually is. This tool is **OFFICIALLY** available and maintained for :
7
+
8
+ - [Crates.io (Original)](https://crates.io/crates/ahqstore_cli_rs)
9
+ - [npmjs (Port)](https://www.npmjs.com/package/@ahqstore/cli)
10
+ - [jsr (Port)](https://jsr.io/@ahqstore/cli)
11
+ - [PyPi (Port)](https://pypi.org/project/ahqstore-cli/)
12
+ - [Nuget (Port)](https://www.nuget.org/packages/AHQStoreCLI)
13
+ - [Pub.dev (Port)](https://pub.dev/packages/ahqstore_cli)
14
+ - [Golang (Port; See Installation Guide Below)](#golang)
15
+
16
+ All the platforms use the same codebase (the rust codebase). We're making use of the C-Abi to
17
+ make the CLI compatible to the following languages/runtimes:
18
+
19
+ - Cargo
20
+ - NodeJS
21
+ - Deno
22
+ - Bun
23
+ - Python
24
+ - .NET C#
25
+ - Golang
26
+ - Dart
27
+
28
+ # Usage
29
+
30
+ Head over to https://ahqstore.github.io/guide/cli/ for usage references!
31
+
32
+ # Installation
33
+
34
+ ## Rust
35
+
36
+ There are two ways to install in Rust Lang, `cargo install` and `cargo binstall`
37
+
38
+ ## cargo install (official)
39
+
40
+ ```sh
41
+ cargo install ahqstore_cli_rs
42
+ ```
43
+
44
+ ### cargo binstall
45
+
46
+ ```sh
47
+ cargo binstall ahqstore_cli_rs
48
+ ```
49
+
50
+ ## NodeJS
51
+
52
+ ```sh
53
+ npm i -g @ahqstore/cli
54
+ ```
55
+
56
+ ## Deno
57
+
58
+ ### Using npmjs
59
+
60
+ ```sh
61
+ deno install -g npm:@ahqstore/cli
62
+ ```
63
+
64
+ ### Using JSR
65
+
66
+ ```sh
67
+ deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.11.2/js/cli.js
68
+ ```
69
+
70
+ ## Bun
71
+
72
+ ```sh
73
+ bun install -g @ahqstore/cli
74
+ ```
75
+
76
+ ## Python
77
+
78
+ ```sh
79
+ pip install ahqstore-cli
80
+ ```
81
+
82
+ ## GoLang
83
+
84
+ Since GoLang mainly works with repositories. We've set up a mirror repo so that it works as expected. Here's the install command :-
85
+
86
+ ```sh
87
+ go install github.com/ahqstore/cli-go/ahqstore@latest
88
+ ```
89
+
90
+ ## Dart
91
+
92
+ ```sh
93
+ dart pub global deactivate ahqstore_cli
94
+ ```
95
+
96
+ ## .NET C#
97
+
98
+ ```sh
99
+ dotnet tool install --global AHQStoreCLI
100
+ ```
@@ -0,0 +1,30 @@
1
+ # This file configures the static analysis results for your project (errors,
2
+ # warnings, and lints).
3
+ #
4
+ # This enables the 'recommended' set of lints from `package:lints`.
5
+ # This set helps identify many issues that may lead to problems when running
6
+ # or consuming Dart code, and enforces writing Dart using a single, idiomatic
7
+ # style and format.
8
+ #
9
+ # If you want a smaller set of lints you can change this to specify
10
+ # 'package:lints/core.yaml'. These are just the most critical lints
11
+ # (the recommended set includes the core lints).
12
+ # The core lints are also what is used by pub.dev for scoring packages.
13
+
14
+ include: package:lints/recommended.yaml
15
+
16
+ # Uncomment the following section to specify additional rules.
17
+
18
+ # linter:
19
+ # rules:
20
+ # - camel_case_types
21
+
22
+ # analyzer:
23
+ # exclude:
24
+ # - path/to/excluded/files/**
25
+
26
+ # For more information about the core and recommended set of lints, see
27
+ # https://dart.dev/go/core-lints
28
+
29
+ # For additional information about configuring this file, see
30
+ # https://dart.dev/guides/language/analysis-options
@@ -0,0 +1,166 @@
1
+ import 'dart:ffi';
2
+ import 'dart:io';
3
+
4
+ import 'package:ffi/ffi.dart';
5
+ import 'package:http/http.dart';
6
+
7
+ const String version = "0.11.2";
8
+
9
+ String getUserHomeDirectory() {
10
+ if (Platform.isLinux || Platform.isMacOS) {
11
+ return Platform.environment['HOME'] ??
12
+ (throw StateError('HOME environment variable not found.'));
13
+ } else if (Platform.isWindows) {
14
+ return Platform.environment['USERPROFILE'] ??
15
+ (throw StateError('USERPROFILE environment variable not found.'));
16
+ } else {
17
+ throw UnsupportedError(
18
+ 'Getting user home directory is not supported on ${Platform.operatingSystem}.',
19
+ );
20
+ }
21
+ }
22
+
23
+ (String, String) getPrefixSuffix() {
24
+ if (Platform.isWindows) {
25
+ return ("", ".dll");
26
+ } else if (Platform.isMacOS) {
27
+ return ("lib", ".dylib");
28
+ }
29
+
30
+ // Assume UNIX
31
+ return ("lib", ".so");
32
+ }
33
+
34
+ String getTargetTuple() {
35
+ if (Platform.isWindows) {
36
+ switch (Abi.current()) {
37
+ case Abi.windowsArm64:
38
+ return "aarch64-pc-windows-msvc";
39
+ case Abi.windowsX64:
40
+ return "x86_64-pc-windows-msvc";
41
+ case Abi.windowsIA32:
42
+ return "i686-pc-windows-msvc";
43
+ default:
44
+ throw UnsupportedError("Unsupported ABI");
45
+ }
46
+ } else if (Platform.isMacOS) {
47
+ switch (Abi.current()) {
48
+ case Abi.macosArm64:
49
+ return "aarch64-apple-darwin";
50
+ case Abi.macosX64:
51
+ return "x86_64-apple-darwin";
52
+ default:
53
+ throw UnsupportedError("Unsupported ABI");
54
+ }
55
+ } else if (Platform.isLinux) {
56
+ switch (Abi.current()) {
57
+ case Abi.linuxX64:
58
+ return "x86_64-unknown-linux-gnu";
59
+ case Abi.linuxIA32:
60
+ return "i686-unknown-linux-gnu";
61
+ case Abi.linuxArm64:
62
+ return "aarch64-unknown-linux-gnu";
63
+ case Abi.linuxArm:
64
+ return "armv7-unknown-linux-gnueabihf";
65
+ default:
66
+ throw UnsupportedError("Unsupported ABI");
67
+ }
68
+ }
69
+
70
+ throw UnsupportedError("Unsupported ABI");
71
+ }
72
+
73
+ String getDylib() {
74
+ var (prefix, suffix) = getPrefixSuffix();
75
+ String home = getUserHomeDirectory();
76
+
77
+ Directory dir = Directory("$home/ahqstore-dart");
78
+
79
+ if (!dir.existsSync()) {
80
+ dir.createSync(recursive: true);
81
+ }
82
+
83
+ String dlibPath = "$home/ahqstore-dart/${prefix}ahqstore_cli_rs$suffix";
84
+
85
+ File dylib = File(dlibPath);
86
+
87
+ if (!dylib.existsSync()) {
88
+ download(dlibPath);
89
+ }
90
+
91
+ return dlibPath;
92
+ }
93
+
94
+ Future<void> download(String path) async {
95
+ File dlib = File(path);
96
+
97
+ try {
98
+ dlib.deleteSync();
99
+ } catch (e) {
100
+ // We ignore this
101
+ }
102
+
103
+ dlib.createSync();
104
+
105
+ var (prefix, suffix) = getPrefixSuffix();
106
+
107
+ var url = Uri.parse(
108
+ "https://github.com/ahqstore/cli/releases/download/$version/${prefix}ahqstore_cli_rs-${getTargetTuple()}$suffix",
109
+ );
110
+
111
+ Response resp = await get(url, headers: {"user-agent": "AHQ Store Client"});
112
+
113
+ dlib.writeAsBytesSync(resp.bodyBytes);
114
+ }
115
+
116
+ typedef GetVerNative = Pointer<Utf8> Function();
117
+ typedef InitArgs = Void Function();
118
+ typedef AddArg = Void Function(Pointer<Utf8> ptr);
119
+ typedef Entrypoint = Void Function(Bool ci);
120
+
121
+ Future<void> main(List<String> arguments) async {
122
+ String dylib = getDylib();
123
+
124
+ DynamicLibrary? library;
125
+
126
+ try {
127
+ library = DynamicLibrary.open(dylib);
128
+
129
+ var versionFn = library
130
+ .lookup<NativeFunction<GetVerNative>>("get_ver")
131
+ .asFunction<GetVerNative>();
132
+
133
+ var data = versionFn().toDartString();
134
+
135
+ if (data != version) {
136
+ library.close();
137
+ throw Error();
138
+ }
139
+ } catch (e) {
140
+ download(dylib);
141
+ library = DynamicLibrary.open(dylib);
142
+ }
143
+
144
+ var initFn = library
145
+ .lookup<NativeFunction<InitArgs>>("init_args")
146
+ .asFunction<void Function()>();
147
+ initFn();
148
+
149
+ var addArg = library
150
+ .lookup<NativeFunction<AddArg>>("add_arg")
151
+ .asFunction<void Function(Pointer<Utf8>)>();
152
+
153
+ for (var arg in arguments) {
154
+ var allocated = arg.toNativeUtf8();
155
+
156
+ addArg(allocated);
157
+
158
+ calloc.free(allocated);
159
+ }
160
+
161
+ var start = library
162
+ .lookup<NativeFunction<Entrypoint>>("node_entrypoint")
163
+ .asFunction<void Function(bool)>();
164
+
165
+ start(String.fromEnvironment("CI", defaultValue: "false") == "true");
166
+ }
@@ -0,0 +1,413 @@
1
+ # Generated by pub
2
+ # See https://dart.dev/tools/pub/glossary#lockfile
3
+ packages:
4
+ _fe_analyzer_shared:
5
+ dependency: transitive
6
+ description:
7
+ name: _fe_analyzer_shared
8
+ sha256: f0bb5d1648339c8308cc0b9838d8456b3cfe5c91f9dc1a735b4d003269e5da9a
9
+ url: "https://pub.dev"
10
+ source: hosted
11
+ version: "88.0.0"
12
+ analyzer:
13
+ dependency: transitive
14
+ description:
15
+ name: analyzer
16
+ sha256: "0b7b9c329d2879f8f05d6c05b32ee9ec025f39b077864bdb5ac9a7b63418a98f"
17
+ url: "https://pub.dev"
18
+ source: hosted
19
+ version: "8.1.1"
20
+ args:
21
+ dependency: transitive
22
+ description:
23
+ name: args
24
+ sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
25
+ url: "https://pub.dev"
26
+ source: hosted
27
+ version: "2.7.0"
28
+ async:
29
+ dependency: transitive
30
+ description:
31
+ name: async
32
+ sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
33
+ url: "https://pub.dev"
34
+ source: hosted
35
+ version: "2.13.0"
36
+ boolean_selector:
37
+ dependency: transitive
38
+ description:
39
+ name: boolean_selector
40
+ sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
41
+ url: "https://pub.dev"
42
+ source: hosted
43
+ version: "2.1.2"
44
+ cli_config:
45
+ dependency: transitive
46
+ description:
47
+ name: cli_config
48
+ sha256: ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec
49
+ url: "https://pub.dev"
50
+ source: hosted
51
+ version: "0.2.0"
52
+ collection:
53
+ dependency: transitive
54
+ description:
55
+ name: collection
56
+ sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
57
+ url: "https://pub.dev"
58
+ source: hosted
59
+ version: "1.19.1"
60
+ convert:
61
+ dependency: transitive
62
+ description:
63
+ name: convert
64
+ sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68
65
+ url: "https://pub.dev"
66
+ source: hosted
67
+ version: "3.1.2"
68
+ coverage:
69
+ dependency: transitive
70
+ description:
71
+ name: coverage
72
+ sha256: "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d"
73
+ url: "https://pub.dev"
74
+ source: hosted
75
+ version: "1.15.0"
76
+ crypto:
77
+ dependency: transitive
78
+ description:
79
+ name: crypto
80
+ sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
81
+ url: "https://pub.dev"
82
+ source: hosted
83
+ version: "3.0.6"
84
+ ffi:
85
+ dependency: "direct main"
86
+ description:
87
+ name: ffi
88
+ sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418"
89
+ url: "https://pub.dev"
90
+ source: hosted
91
+ version: "2.1.4"
92
+ file:
93
+ dependency: transitive
94
+ description:
95
+ name: file
96
+ sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
97
+ url: "https://pub.dev"
98
+ source: hosted
99
+ version: "7.0.1"
100
+ frontend_server_client:
101
+ dependency: transitive
102
+ description:
103
+ name: frontend_server_client
104
+ sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
105
+ url: "https://pub.dev"
106
+ source: hosted
107
+ version: "4.0.0"
108
+ glob:
109
+ dependency: transitive
110
+ description:
111
+ name: glob
112
+ sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de
113
+ url: "https://pub.dev"
114
+ source: hosted
115
+ version: "2.1.3"
116
+ http:
117
+ dependency: "direct main"
118
+ description:
119
+ name: http
120
+ sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007
121
+ url: "https://pub.dev"
122
+ source: hosted
123
+ version: "1.5.0"
124
+ http_multi_server:
125
+ dependency: transitive
126
+ description:
127
+ name: http_multi_server
128
+ sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8
129
+ url: "https://pub.dev"
130
+ source: hosted
131
+ version: "3.2.2"
132
+ http_parser:
133
+ dependency: transitive
134
+ description:
135
+ name: http_parser
136
+ sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571"
137
+ url: "https://pub.dev"
138
+ source: hosted
139
+ version: "4.1.2"
140
+ io:
141
+ dependency: transitive
142
+ description:
143
+ name: io
144
+ sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b
145
+ url: "https://pub.dev"
146
+ source: hosted
147
+ version: "1.0.5"
148
+ js:
149
+ dependency: transitive
150
+ description:
151
+ name: js
152
+ sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc"
153
+ url: "https://pub.dev"
154
+ source: hosted
155
+ version: "0.7.2"
156
+ lints:
157
+ dependency: "direct dev"
158
+ description:
159
+ name: lints
160
+ sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0
161
+ url: "https://pub.dev"
162
+ source: hosted
163
+ version: "6.0.0"
164
+ logging:
165
+ dependency: transitive
166
+ description:
167
+ name: logging
168
+ sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
169
+ url: "https://pub.dev"
170
+ source: hosted
171
+ version: "1.3.0"
172
+ matcher:
173
+ dependency: transitive
174
+ description:
175
+ name: matcher
176
+ sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
177
+ url: "https://pub.dev"
178
+ source: hosted
179
+ version: "0.12.17"
180
+ meta:
181
+ dependency: transitive
182
+ description:
183
+ name: meta
184
+ sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
185
+ url: "https://pub.dev"
186
+ source: hosted
187
+ version: "1.16.0"
188
+ mime:
189
+ dependency: transitive
190
+ description:
191
+ name: mime
192
+ sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6"
193
+ url: "https://pub.dev"
194
+ source: hosted
195
+ version: "2.0.0"
196
+ node_preamble:
197
+ dependency: transitive
198
+ description:
199
+ name: node_preamble
200
+ sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
201
+ url: "https://pub.dev"
202
+ source: hosted
203
+ version: "2.0.2"
204
+ package_config:
205
+ dependency: transitive
206
+ description:
207
+ name: package_config
208
+ sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc
209
+ url: "https://pub.dev"
210
+ source: hosted
211
+ version: "2.2.0"
212
+ path:
213
+ dependency: transitive
214
+ description:
215
+ name: path
216
+ sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
217
+ url: "https://pub.dev"
218
+ source: hosted
219
+ version: "1.9.1"
220
+ pool:
221
+ dependency: transitive
222
+ description:
223
+ name: pool
224
+ sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
225
+ url: "https://pub.dev"
226
+ source: hosted
227
+ version: "1.5.1"
228
+ pub_semver:
229
+ dependency: transitive
230
+ description:
231
+ name: pub_semver
232
+ sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585"
233
+ url: "https://pub.dev"
234
+ source: hosted
235
+ version: "2.2.0"
236
+ shelf:
237
+ dependency: transitive
238
+ description:
239
+ name: shelf
240
+ sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12
241
+ url: "https://pub.dev"
242
+ source: hosted
243
+ version: "1.4.2"
244
+ shelf_packages_handler:
245
+ dependency: transitive
246
+ description:
247
+ name: shelf_packages_handler
248
+ sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
249
+ url: "https://pub.dev"
250
+ source: hosted
251
+ version: "3.0.2"
252
+ shelf_static:
253
+ dependency: transitive
254
+ description:
255
+ name: shelf_static
256
+ sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3
257
+ url: "https://pub.dev"
258
+ source: hosted
259
+ version: "1.1.3"
260
+ shelf_web_socket:
261
+ dependency: transitive
262
+ description:
263
+ name: shelf_web_socket
264
+ sha256: "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925"
265
+ url: "https://pub.dev"
266
+ source: hosted
267
+ version: "3.0.0"
268
+ source_map_stack_trace:
269
+ dependency: transitive
270
+ description:
271
+ name: source_map_stack_trace
272
+ sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b
273
+ url: "https://pub.dev"
274
+ source: hosted
275
+ version: "2.1.2"
276
+ source_maps:
277
+ dependency: transitive
278
+ description:
279
+ name: source_maps
280
+ sha256: "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812"
281
+ url: "https://pub.dev"
282
+ source: hosted
283
+ version: "0.10.13"
284
+ source_span:
285
+ dependency: transitive
286
+ description:
287
+ name: source_span
288
+ sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
289
+ url: "https://pub.dev"
290
+ source: hosted
291
+ version: "1.10.1"
292
+ stack_trace:
293
+ dependency: transitive
294
+ description:
295
+ name: stack_trace
296
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
297
+ url: "https://pub.dev"
298
+ source: hosted
299
+ version: "1.12.1"
300
+ stream_channel:
301
+ dependency: transitive
302
+ description:
303
+ name: stream_channel
304
+ sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
305
+ url: "https://pub.dev"
306
+ source: hosted
307
+ version: "2.1.4"
308
+ string_scanner:
309
+ dependency: transitive
310
+ description:
311
+ name: string_scanner
312
+ sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
313
+ url: "https://pub.dev"
314
+ source: hosted
315
+ version: "1.4.1"
316
+ term_glyph:
317
+ dependency: transitive
318
+ description:
319
+ name: term_glyph
320
+ sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
321
+ url: "https://pub.dev"
322
+ source: hosted
323
+ version: "1.2.2"
324
+ test:
325
+ dependency: "direct dev"
326
+ description:
327
+ name: test
328
+ sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
329
+ url: "https://pub.dev"
330
+ source: hosted
331
+ version: "1.26.3"
332
+ test_api:
333
+ dependency: transitive
334
+ description:
335
+ name: test_api
336
+ sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
337
+ url: "https://pub.dev"
338
+ source: hosted
339
+ version: "0.7.7"
340
+ test_core:
341
+ dependency: transitive
342
+ description:
343
+ name: test_core
344
+ sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
345
+ url: "https://pub.dev"
346
+ source: hosted
347
+ version: "0.6.12"
348
+ typed_data:
349
+ dependency: transitive
350
+ description:
351
+ name: typed_data
352
+ sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
353
+ url: "https://pub.dev"
354
+ source: hosted
355
+ version: "1.4.0"
356
+ vm_service:
357
+ dependency: transitive
358
+ description:
359
+ name: vm_service
360
+ sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60"
361
+ url: "https://pub.dev"
362
+ source: hosted
363
+ version: "15.0.2"
364
+ watcher:
365
+ dependency: transitive
366
+ description:
367
+ name: watcher
368
+ sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c"
369
+ url: "https://pub.dev"
370
+ source: hosted
371
+ version: "1.1.3"
372
+ web:
373
+ dependency: transitive
374
+ description:
375
+ name: web
376
+ sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"
377
+ url: "https://pub.dev"
378
+ source: hosted
379
+ version: "1.1.1"
380
+ web_socket:
381
+ dependency: transitive
382
+ description:
383
+ name: web_socket
384
+ sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c"
385
+ url: "https://pub.dev"
386
+ source: hosted
387
+ version: "1.0.1"
388
+ web_socket_channel:
389
+ dependency: transitive
390
+ description:
391
+ name: web_socket_channel
392
+ sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8
393
+ url: "https://pub.dev"
394
+ source: hosted
395
+ version: "3.0.3"
396
+ webkit_inspection_protocol:
397
+ dependency: transitive
398
+ description:
399
+ name: webkit_inspection_protocol
400
+ sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
401
+ url: "https://pub.dev"
402
+ source: hosted
403
+ version: "1.2.1"
404
+ yaml:
405
+ dependency: transitive
406
+ description:
407
+ name: yaml
408
+ sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce
409
+ url: "https://pub.dev"
410
+ source: hosted
411
+ version: "3.1.3"
412
+ sdks:
413
+ dart: ">=3.9.2 <4.0.0"
@@ -0,0 +1,25 @@
1
+ name: ahqstore_cli
2
+ description: An Official port of the original AHQ Store Rust CLI
3
+ version: 0.11.2
4
+ repository: https://github.com/ahqstore/cli
5
+ executables:
6
+ ahqstore:
7
+ platforms:
8
+ windows:
9
+ linux:
10
+ macos:
11
+ homepage: https://ahqstore.github.io
12
+ issue_tracker: https://github.com/ahqstore/cli/issues
13
+ documentation: https://ahqstore.github.io/guide/cli/
14
+
15
+ environment:
16
+ sdk: ^3.9.2
17
+
18
+ # Add regular dependencies here.
19
+ dependencies:
20
+ ffi: ^2.1.4
21
+ http: ^1.5.0
22
+
23
+ dev_dependencies:
24
+ lints: ^6.0.0
25
+ test: ^1.25.6
package/jsr.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://jsr.io/schema/config-file.v1.json",
3
3
  "name": "@ahqstore/cli",
4
- "version": "0.11.1",
4
+ "version": "0.11.2",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": "./js/cli.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahqstore/cli",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "AHQ Store Official CLI, A port of the rust version to NodeJS",
5
5
  "keywords": [
6
6
  "cli",