File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * @author Victor Giovanni Beltrán Rodríguez
3+ * @file Manages main entry point.
4+ */
5+
6+ // ━━ TYPE DEFINITIONS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
7+ /**
8+ * The `argv2Object()` function, converts command-line arguments to a key-value
9+ * object.
10+ *
11+ * This function takes an array of command-line arguments and converts them to a
12+ * JavaScript object with keys and values based on the provided argument format.
13+ * The format can be either simple key-value pairs (e.g. "key=value") or
14+ * Unix-style command-line options (e.g. "-o --option=value").
15+ *
16+ * @version 1.0.0
17+ * @author Victor Giovanni Beltrán Rodríguez
18+ * @module argv2Object
19+ */
20+ const argv2Object = require ( '#argv2Object' ) ;
21+
22+ // ━━ EXPORT MODULE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
23+ module . exports = argv2Object . default ;
You can’t perform that action at this time.
0 commit comments