alepha 0.8.1 → 0.9.1

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/cache.d.ts CHANGED
@@ -1,122 +1,122 @@
1
- import { Alepha, HookDescriptor, KIND, Logger, Module, OPTIONS, Static, TBoolean, TNumber, TObject, TOptional, TString } from "alepha";
1
+ import * as _alepha_core0$1 from "alepha";
2
+ import * as _alepha_core0 from "alepha";
3
+ import { Descriptor, InstantiableClass, KIND } from "alepha";
2
4
  import { DateTimeProvider, DurationLike, Timeout } from "alepha/datetime";
3
5
 
4
6
  //#region src/providers/CacheProvider.d.ts
5
-
6
7
  /**
7
- * Cache provider interface.
8
- *
9
- * All methods are asynchronous and return promises.
10
- * Values are stored as Uint8Array.
11
- */
8
+ * Cache provider interface.
9
+ *
10
+ * All methods are asynchronous and return promises.
11
+ * Values are stored as Uint8Array.
12
+ */
12
13
  declare abstract class CacheProvider {
13
14
  /**
14
- * Get the value of a key.
15
- *
16
- * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
17
- * @param key The key of the value to get.
18
- *
19
- * @return The value of the key, or undefined if the key does not exist.
20
- */
15
+ * Get the value of a key.
16
+ *
17
+ * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
18
+ * @param key The key of the value to get.
19
+ *
20
+ * @return The value of the key, or undefined if the key does not exist.
21
+ */
21
22
  abstract get(name: string, key: string): Promise<Uint8Array | undefined>;
22
23
  /**
23
- * Set the string value of a key.
24
- *
25
- * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
26
- * @param key The key of the value to set.
27
- * @param value The value to set.
28
- * @param ttl The time-to-live of the key, in milliseconds.
29
- *
30
- * @return The value of the key.
31
- */
24
+ * Set the string value of a key.
25
+ *
26
+ * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
27
+ * @param key The key of the value to set.
28
+ * @param value The value to set.
29
+ * @param ttl The time-to-live of the key, in milliseconds.
30
+ *
31
+ * @return The value of the key.
32
+ */
32
33
  abstract set(name: string, key: string, value: Uint8Array, ttl?: number): Promise<Uint8Array>;
33
34
  /**
34
- * Remove the specified keys.
35
- *
36
- * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
37
- * @param keys The keys to delete.
38
- */
35
+ * Remove the specified keys.
36
+ *
37
+ * @param name Cache name, used to group keys. Should be Redis-like "some:group:name" format.
38
+ * @param keys The keys to delete.
39
+ */
39
40
  abstract del(name: string, ...keys: string[]): Promise<void>;
40
41
  abstract has(name: string, key: string): Promise<boolean>;
41
- abstract keys(name: string): Promise<string[]>;
42
+ abstract keys(name: string, filter?: string): Promise<string[]>;
42
43
  }
44
+ //# sourceMappingURL=CacheProvider.d.ts.map
43
45
  //#endregion
44
46
  //#region src/descriptors/$cache.d.ts
45
- declare const KEY = "CACHE";
46
47
  /**
47
- * Cache Descriptor
48
- */
48
+ * Creates a cache storage or a cache function.
49
+ */
49
50
  declare const $cache: {
50
- <TReturn = string, TParameter extends any[] = any[]>(options?: CacheDescriptorOptions<TReturn, TParameter>): CacheDescriptor<TReturn, TParameter>;
51
- [KIND]: string;
51
+ <TReturn = string, TParameter extends any[] = any[]>(options?: CacheDescriptorOptions<TReturn, TParameter>): CacheDescriptorFn<TReturn, TParameter>;
52
+ [KIND]: typeof CacheDescriptor;
52
53
  };
53
- // ---------------------------------------------------------------------------------------------------------------------
54
54
  interface CacheDescriptorOptions<TReturn, TParameter extends any[] = any[]> {
55
55
  /**
56
- * The cache name. This is useful for invalidating multiple caches at once.
57
- *
58
- * Store key as `cache:$name:$key`.
59
- *
60
- * @default ClassName:methodName
61
- */
56
+ * The cache name. This is useful for invalidating multiple caches at once.
57
+ *
58
+ * Store key as `cache:$name:$key`.
59
+ *
60
+ * @default Name of the key of the class.
61
+ */
62
62
  name?: string;
63
63
  /**
64
- * Function which returns cached data.
65
- * @param args Arguments for handler.
66
- */
64
+ * Function which returns cached data.
65
+ */
67
66
  handler?: (...args: TParameter) => TReturn;
68
67
  /**
69
- * The key generator for the cache.
70
- * If not provided, the arguments will be json.stringify().
71
- */
68
+ * The key generator for the cache.
69
+ * If not provided, the arguments will be json.stringify().
70
+ */
72
71
  key?: (...args: TParameter) => string;
73
72
  /**
74
- * The store provider for the cache.
75
- * If not provided, the default store provider will be used.
76
- */
77
- provider?: CacheProvider | (() => CacheProvider) | "memory";
73
+ * The store provider for the cache.
74
+ * If not provided, the default store provider will be used.
75
+ */
76
+ provider?: InstantiableClass<CacheProvider> | "memory";
78
77
  /**
79
- * The time-to-live for the cache in seconds.
80
- * Set 0 to skip expiration.
81
- *
82
- * @default 300 (5 minutes).
83
- */
78
+ * The time-to-live for the cache in seconds.
79
+ * Set 0 to skip expiration.
80
+ *
81
+ * @default 300 (5 minutes).
82
+ */
84
83
  ttl?: DurationLike;
85
84
  /**
86
- * If the cache is disabled.
87
- */
85
+ * If the cache is disabled.
86
+ */
88
87
  disabled?: boolean;
89
88
  }
90
- interface CacheDescriptor<TReturn = any, TParameter extends any[] = any[]> {
91
- [KIND]: typeof KEY;
92
- [OPTIONS]: CacheDescriptorOptions<TReturn, TParameter>;
89
+ declare class CacheDescriptor<TReturn = any, TParameter extends any[] = any[]> extends Descriptor<CacheDescriptorOptions<TReturn, TParameter>> {
90
+ protected readonly env: {
91
+ CACHE_ENABLED: boolean;
92
+ CACHE_DEFAULT_TTL: number;
93
+ };
94
+ protected readonly dateTimeProvider: DateTimeProvider;
95
+ protected readonly provider: CacheProvider;
96
+ protected encoder: TextEncoder;
97
+ protected decoder: TextDecoder;
98
+ protected codes: {
99
+ BINARY: number;
100
+ JSON: number;
101
+ STRING: number;
102
+ };
103
+ get container(): string;
104
+ run(...args: TParameter): Promise<TReturn>;
105
+ key(...args: TParameter): string;
106
+ invalidate(...keys: string[]): Promise<void>;
107
+ set(key: string, value: TReturn, ttl?: DurationLike): Promise<void>;
108
+ get(key: string): Promise<TReturn | undefined>;
109
+ protected serialize<TReturn>(value: TReturn): Uint8Array;
110
+ protected deserialize<TReturn>(uint8Array: Uint8Array): Promise<TReturn>;
111
+ protected $provider(): CacheProvider;
112
+ }
113
+ interface CacheDescriptorFn<TReturn = any, TParameter extends any[] = any[]> extends CacheDescriptor<TReturn, TParameter> {
93
114
  /**
94
- * Cache handler.
95
- */
115
+ * Run the cache descriptor with the provided arguments.
116
+ */
96
117
  (...args: TParameter): Promise<TReturn>;
97
- /**
98
- * Cache key generator.
99
- */
100
- key: (...args: TParameter) => string;
101
- /**
102
- * Invalidate cache by keys.
103
- */
104
- invalidate: (...keys: string[]) => Promise<void>;
105
- /**
106
- * Set cache with key, value and ttl.
107
- *
108
- * @param key
109
- * @param value
110
- * @param ttl
111
- */
112
- set: (key: string, value: TReturn, ttl?: DurationLike) => Promise<void>;
113
- /**
114
- * Get cache by key.
115
- *
116
- * @param key
117
- */
118
- get: (key: string) => Promise<TReturn | undefined>;
119
118
  }
119
+ //# sourceMappingURL=$cache.d.ts.map
120
120
  //#endregion
121
121
  //#region src/providers/MemoryCacheProvider.d.ts
122
122
  type CacheName = string;
@@ -127,167 +127,30 @@ type CacheValue = {
127
127
  };
128
128
  declare class MemoryCacheProvider implements CacheProvider {
129
129
  protected readonly dateTimeProvider: DateTimeProvider;
130
- protected readonly log: Logger;
130
+ protected readonly log: _alepha_core0$1.Logger;
131
131
  protected store: Record<CacheName, Record<CacheKey, CacheValue>>;
132
132
  get(name: string, key: string): Promise<Uint8Array | undefined>;
133
133
  set(name: string, key: string, value: Uint8Array, ttl?: number): Promise<Uint8Array>;
134
134
  del(name: string, ...keys: string[]): Promise<void>;
135
135
  has(name: string, key: string): Promise<boolean>;
136
- keys(name: string): Promise<string[]>;
137
- }
138
- //#endregion
139
- //#region src/providers/CacheDescriptorProvider.d.ts
140
- declare const envSchema: TObject<{
141
- CACHE_DEFAULT_TTL: TNumber;
142
- CACHE_PREFIX: TOptional<TString>;
143
- CACHE_ENABLED: TBoolean;
144
- }>;
145
- declare module "alepha" {
146
- interface Env extends Partial<Static<typeof envSchema>> {}
147
- }
148
- declare class CacheDescriptorProvider {
149
- protected readonly alepha: Alepha;
150
- protected readonly cacheProvider: CacheProvider;
151
- protected readonly memoryCacheProvider: MemoryCacheProvider;
152
- protected readonly dateTimeProvider: DateTimeProvider;
153
- protected readonly env: Static<typeof envSchema>;
154
- protected readonly caches: Cache[];
155
- protected encoder: TextEncoder;
156
- protected decoder: TextDecoder;
157
- protected codes: {
158
- BINARY: number;
159
- JSON: number;
160
- STRING: number;
161
- };
162
- protected readonly configure: HookDescriptor<"configure">;
163
- register(cache: Cache): Cache;
164
- processDescriptors(): void;
165
- getCaches(): Cache[];
166
- /**
167
- * Clear all cache entries.
168
- */
169
- clear(): Promise<void>;
170
- /**
171
- * Get the store provider for the given cache options.
172
- *
173
- * @param options
174
- */
175
- provider(options: Pick<CacheDescriptorOptions<any[], any>, "provider">): CacheProvider;
176
- /**
177
- * Get the cache key for the given state and arguments.
178
- */
179
- key(cache: Cache, ...args: any[]): string;
180
- /**
181
- * Invalidate the cache for the given state and arguments.
182
- */
183
- invalidate(cache: Cache, ...keys: string[]): Promise<void>;
184
- /**
185
- * Run the cache handler with the given state and arguments.
186
- * You must run on a $cache with a handler defined.
187
- */
188
- run<TReturn, TParameter extends any[]>(cache: Cache<TReturn, TParameter>, ...args: TParameter): Promise<TReturn>;
189
- get<TReturn>(cache: Cache<TReturn>, key: string): Promise<TReturn | undefined>;
190
- /**
191
- * Manually set a value in the cache.
192
- * It's used by .run() method, but you will need it when you don't have cache handler defined.
193
- *
194
- * @param cache Cache object with all configuration and options (even TTL).
195
- * @param key Cache key, build with .key() method or manually.
196
- * @param value Value to store in cache.
197
- * @param ttl Override cache.ttl option.
198
- */
199
- set<TReturn>(cache: Cache<TReturn>, key: string, value: TReturn, ttl?: DurationLike): Promise<void>;
200
- protected serialize<TReturn>(value: TReturn): Uint8Array;
201
- protected deserialize<TReturn>(uint8Array: Uint8Array): Promise<TReturn>;
202
- }
203
- interface Cache<TReturn = any, TParameter extends any[] = any[]> {
204
- name: string;
205
- options: CacheDescriptorOptions<TReturn, TParameter>;
136
+ keys(name: string, filter?: string): Promise<string[]>;
206
137
  }
207
138
  //#endregion
208
139
  //#region src/index.d.ts
209
- // ---------------------------------------------------------------------------------------------------------------------
210
140
  /**
211
- * Provides high-performance caching capabilities for Alepha applications with configurable TTL and multiple storage backends.
212
- *
213
- * The cache module enables declarative caching through the `$cache` descriptor, allowing you to cache method results,
214
- * API responses, or computed values with automatic invalidation and type safety. It supports both in-memory and
215
- * persistent storage backends for different performance and durability requirements.
216
- *
217
- * **Key Features:**
218
- * - Declarative caching with `$cache` descriptor on class properties
219
- * - Configurable TTL (time-to-live) with duration literals
220
- * - Custom key generation and automatic serialization
221
- * - Multiple storage backends (memory, Redis, etc.)
222
- * - Cache invalidation and manual cache operations
223
- * - Type-safe operations with full TypeScript support
224
- *
225
- * **Basic Usage:**
226
- * ```ts
227
- * import { Alepha, run } from "alepha";
228
- * import { AlephaCache, $cache } from "alepha/cache";
229
- *
230
- * class UserService {
231
- * getUserData = $cache({
232
- * key: (userId: string) => `user:${userId}`,
233
- * ttl: [1, "hour"],
234
- * handler: async (userId: string) => {
235
- * // This will be cached for 1 hour
236
- * return await fetchUserFromDatabase(userId);
237
- * },
238
- * });
239
- *
240
- * getUserProfile = $cache({
241
- * provider: "memory",
242
- * ttl: [5, "minutes"],
243
- * handler: async (userId: string) => {
244
- * return await buildUserProfile(userId);
245
- * },
246
- * });
247
- * }
248
- *
249
- * const alepha = Alepha.create()
250
- * .with(AlephaCache)
251
- * .with(UserService);
252
- *
253
- * run(alepha);
254
- * ```
255
- *
256
- * **Cache Operations:**
257
- * ```ts
258
- * class ProductService {
259
- * productCache = $cache({
260
- * handler: async (productId: string) => {
261
- * return await getProduct(productId);
262
- * },
263
- * });
264
- *
265
- * async getProduct(id: string) {
266
- * // Get from cache or compute
267
- * return await this.productCache(id);
268
- * }
269
- *
270
- * async updateProduct(id: string, data: any) {
271
- * await updateProductInDb(id, data);
272
- * // Invalidate cache
273
- * await this.productCache.invalidate(this.productCache.key(id));
274
- * }
275
- *
276
- * async warmUpCache(id: string, data: any) {
277
- * // Manually set cache
278
- * await this.productCache.set(this.productCache.key(id), data, [30, "minutes"]);
279
- * }
280
- * }
281
- * ```
282
- *
283
- * @see {@link $cache}
284
- * @see {@link CacheProvider}
285
- * @module alepha.cache
286
- */
287
- declare class AlephaCache implements Module {
288
- readonly name = "alepha.cache";
289
- readonly $services: (alepha: Alepha) => Alepha;
290
- }
141
+ * Provides high-performance caching capabilities for Alepha applications with configurable TTL and multiple storage backends.
142
+ *
143
+ * The cache module enables declarative caching through the `$cache` descriptor, allowing you to cache method results,
144
+ * API responses, or computed values with automatic invalidation and type safety. It supports both in-memory and
145
+ * persistent storage backends for different performance and durability requirements.
146
+ *
147
+ * @see {@link $cache}
148
+ * @see {@link CacheProvider}
149
+ * @module alepha.cache
150
+ */
151
+ declare const AlephaCache: _alepha_core0.ModuleDescriptor;
152
+ //# sourceMappingURL=index.d.ts.map
153
+
291
154
  //#endregion
292
- export { $cache, AlephaCache, Cache, CacheDescriptor, CacheDescriptorOptions, CacheDescriptorProvider, CacheProvider, MemoryCacheProvider };
155
+ export { $cache, AlephaCache, CacheDescriptor, CacheDescriptorFn, CacheDescriptorOptions, CacheProvider, MemoryCacheProvider };
293
156
  //# sourceMappingURL=index.d.ts.map
package/command.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { Alepha, AlephaError, Async, HookDescriptor, KIND, Logger, Module, OPTIONS, Static, TObject, TProperties, TSchema, TString } from "alepha";
1
+ import * as _alepha_core0$1 from "alepha";
2
+ import * as _alepha_core0 from "alepha";
3
+ import { Alepha, AlephaError, Async, Descriptor, KIND, Logger, Static, TObject, TSchema } from "alepha";
2
4
  import * as fs from "node:fs/promises";
3
5
  import { glob } from "node:fs/promises";
6
+ import * as _sinclair_typebox0 from "@sinclair/typebox";
4
7
 
5
8
  //#region src/helpers/Runner.d.ts
6
9
  type Task = {
@@ -14,6 +17,9 @@ interface Timer {
14
17
  interface RunnerMethod {
15
18
  (cmd: string | Array<string | Task>, fn?: () => any): Promise<string>;
16
19
  rm: (glob: string | string[]) => Promise<string>;
20
+ cp: (source: string, dest: string, options?: {
21
+ alias?: string;
22
+ }) => Promise<string>;
17
23
  }
18
24
  declare class Runner {
19
25
  protected readonly log: Logger;
@@ -21,107 +27,100 @@ declare class Runner {
21
27
  protected readonly startTime: number;
22
28
  readonly run: RunnerMethod;
23
29
  constructor(log: Logger);
30
+ protected createRunMethod(): RunnerMethod;
24
31
  protected exec(cmd: string): Promise<string>;
25
32
  /**
26
- * Executes one or more tasks.
27
- *
28
- * @param task - A single task or an array of tasks to run in parallel.
29
- */
33
+ * Executes one or more tasks.
34
+ *
35
+ * @param task - A single task or an array of tasks to run in parallel.
36
+ */
30
37
  protected execute(task: Task | Task[]): Promise<string>;
31
38
  /**
32
- * Prints a summary of all executed tasks and their durations.
33
- */
39
+ * Prints a summary of all executed tasks and their durations.
40
+ */
34
41
  summary(): void;
35
42
  protected executeTask(task: Task): Promise<string>;
36
43
  protected renderTable(data: string[][]): void;
37
44
  }
38
45
  //#endregion
39
46
  //#region src/descriptors/$command.d.ts
40
- declare const KEY = "COMMAND";
41
47
  /**
42
- * Declares a CLI command.
43
- *
44
- * This descriptor allows you to define a command, its flags, and its handler
45
- * within your Alepha application structure.
46
- */
48
+ * Declares a CLI command.
49
+ *
50
+ * This descriptor allows you to define a command, its flags, and its handler
51
+ * within your Alepha application structure.
52
+ */
47
53
  declare const $command: {
48
54
  <T extends TObject>(options: CommandDescriptorOptions<T>): CommandDescriptor<T>;
49
- [KIND]: string;
55
+ [KIND]: typeof CommandDescriptor;
50
56
  };
51
57
  interface CommandDescriptorOptions<T extends TObject> {
52
58
  /**
53
- * The handler function to execute when the command is matched.
54
- */
55
- handler: (args: {
56
- flags: Static<T>;
57
- run: RunnerMethod;
58
- glob: typeof glob;
59
- fs: typeof fs;
60
- }) => Async<void>;
59
+ * The handler function to execute when the command is matched.
60
+ */
61
+ handler: (args: CommandHandlerArgs<T>) => Async<void>;
61
62
  /**
62
- * The name of the command. If omitted, the property key is used.
63
- *
64
- * An empty string "" denotes the root command.
65
- */
63
+ * The name of the command. If omitted, the property key is used.
64
+ *
65
+ * An empty string "" denotes the root command.
66
+ */
66
67
  name?: string;
67
68
  /**
68
- * A short description of the command, shown in the help message.
69
- */
69
+ * A short description of the command, shown in the help message.
70
+ */
70
71
  description?: string;
71
72
  /**
72
- * An array of alternative names for the command.
73
- */
73
+ * An array of alternative names for the command.
74
+ */
74
75
  aliases?: string[];
75
76
  /**
76
- * A TypeBox object schema defining the flags for the command.
77
- */
77
+ * A TypeBox object schema defining the flags for the command.
78
+ */
78
79
  flags?: T;
79
80
  }
80
- interface CommandDescriptor<T extends TObject> {
81
- [KIND]: typeof KEY;
82
- [OPTIONS]: CommandDescriptorOptions<T>;
83
- /**
84
- * Executes the command. This is a placeholder and will be replaced by the provider.
85
- */
86
- (flags: Static<T>): Promise<void>;
81
+ declare class CommandDescriptor<T extends TObject = TObject> extends Descriptor<CommandDescriptorOptions<T>> {
82
+ readonly flags: TObject<{}>;
83
+ readonly aliases: string[];
84
+ get name(): string;
85
+ }
86
+ interface CommandHandlerArgs<T extends TObject> {
87
+ flags: Static<T>;
88
+ run: RunnerMethod;
89
+ glob: typeof glob;
90
+ fs: typeof fs;
87
91
  }
92
+ //# sourceMappingURL=$command.d.ts.map
88
93
  //#endregion
89
94
  //#region src/errors/CommandError.d.ts
90
95
  declare class CommandError extends AlephaError {}
96
+ //# sourceMappingURL=CommandError.d.ts.map
91
97
  //#endregion
92
- //#region src/providers/CommandDescriptorProvider.d.ts
93
- interface Command {
94
- key: string;
95
- name: string;
96
- description?: string;
97
- aliases: string[];
98
- flags: TObject<TProperties>;
99
- handler: (flags: any) => Promise<void>;
100
- }
98
+ //#region src/providers/CliProvider.d.ts
101
99
  declare const envSchema: TObject<{
102
- CLI_NAME: TString;
103
- CLI_DESCRIPTION: TString;
100
+ CLI_NAME: _alepha_core0$1.TString;
101
+ CLI_DESCRIPTION: _alepha_core0$1.TString;
104
102
  }>;
105
103
  declare module "alepha" {
106
104
  interface Env extends Partial<Static<typeof envSchema>> {}
107
105
  }
108
- declare class CommandDescriptorProvider {
106
+ declare class CliProvider {
109
107
  protected readonly env: Static<typeof envSchema>;
110
108
  protected readonly alepha: Alepha;
111
109
  protected readonly log: Logger;
112
- protected commands: Command[];
113
110
  options: {
114
111
  name: string;
115
112
  description: string;
116
113
  argv: string[];
117
114
  };
118
- protected readonly globalFlags: Record<string, {
119
- aliases: string[];
120
- description: string;
121
- schema: TSchema;
122
- }>;
123
- protected readonly onConfigure: HookDescriptor<"configure">;
124
- protected readonly onReady: HookDescriptor<"ready">;
115
+ protected readonly globalFlags: {
116
+ help: {
117
+ aliases: string[];
118
+ description: string;
119
+ schema: _sinclair_typebox0.TBoolean;
120
+ };
121
+ };
122
+ protected readonly onReady: _alepha_core0$1.HookDescriptor<"ready">;
123
+ get commands(): CommandDescriptor<any>[];
125
124
  private findCommand;
126
125
  protected parseCommandFlags(argv: string[], schema: TObject): Record<string, any>;
127
126
  protected parseFlags(argv: string[], flagDefs: {
@@ -135,18 +134,28 @@ declare class CommandDescriptorProvider {
135
134
  }
136
135
  //#endregion
137
136
  //#region src/index.d.ts
138
- // ---------------------------------------------------------------------------------------------------------------------
139
137
  /**
140
- *This module provides a powerful way to build command-line interfaces
141
- * directly within your Alepha application, using declarative descriptors.
142
- *
143
- * @see {@link $command}
144
- * @module alepha.command
145
- */
146
- declare class AlephaCommand implements Module {
147
- readonly name = "alepha.command";
148
- readonly $services: (alepha: Alepha) => Alepha;
138
+ * This module provides a powerful way to build command-line interfaces
139
+ * directly within your Alepha application, using declarative descriptors.
140
+ *
141
+ * It allows you to define commands using the `$command` descriptor.
142
+ *
143
+ * @see {@link $command}
144
+ * @module alepha.command
145
+ */
146
+ declare const AlephaCommand: _alepha_core0.ModuleDescriptor;
147
+ declare module "@sinclair/typebox" {
148
+ interface StringOptions {
149
+ /**
150
+ * Additional aliases for the flags.
151
+ *
152
+ * @module alepha.command
153
+ */
154
+ aliases?: string[];
155
+ }
149
156
  }
157
+ //# sourceMappingURL=index.d.ts.map
158
+
150
159
  //#endregion
151
- export { $command, AlephaCommand, CommandDescriptor, CommandDescriptorOptions, CommandDescriptorProvider, CommandError, Runner, RunnerMethod, Task };
160
+ export { $command, AlephaCommand, CliProvider, CommandDescriptor, CommandDescriptorOptions, CommandError, CommandHandlerArgs, Runner, RunnerMethod, Task };
152
161
  //# sourceMappingURL=index.d.ts.map