mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-27 07:13:11 +09:00
16 lines
272 B
TypeScript
16 lines
272 B
TypeScript
import { parseArgs } from "node:util";
|
|
|
|
export const { values, positionals } = parseArgs({
|
|
args: process.argv.slice(2),
|
|
allowPositionals: true,
|
|
options: {
|
|
cwd: {
|
|
type: "string",
|
|
default: "./",
|
|
},
|
|
dev: {
|
|
type: "boolean",
|
|
},
|
|
},
|
|
});
|