Skip to content

Commit e8047c3

Browse files
authored
feat: add short name export (#4)
Adds `x` as a short name alias for `exec`.
1 parent f2f0458 commit e8047c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,12 @@ export class ExecProcess implements Result {
241241
};
242242
}
243243

244-
export const exec: TinyExec = (command, args, userOptions) => {
244+
export const x: TinyExec = (command, args, userOptions) => {
245245
const proc = new ExecProcess(command, args, userOptions);
246246

247247
proc.spawn();
248248

249249
return proc;
250250
};
251+
252+
export const exec = x;

0 commit comments

Comments
 (0)