maiass 5.12.9 → 5.13.0
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/lib/account-info.js +8 -0
- package/lib/changelog-cleanup.js +959 -0
- package/lib/changelog.js +64 -31
- package/lib/config-command.js +86 -14
- package/lib/env-display.js +8 -0
- package/lib/flag-validator.js +111 -0
- package/lib/git-info.js +7 -0
- package/lib/maiass-command.js +18 -0
- package/lib/maiass-variables.js +2 -0
- package/lib/version-command.js +15 -11
- package/maiass.mjs +92 -63
- package/package.json +1 -1
package/lib/account-info.js
CHANGED
|
@@ -11,6 +11,14 @@ import { getSingleCharInput } from './input-utils.js';
|
|
|
11
11
|
import fs from 'fs';
|
|
12
12
|
import path from 'path';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Flags accepted by `maiass account-info` (and the `--account-info` shortcut).
|
|
16
|
+
* Consumed by the global flag validator in maiass.mjs — see MAI-43.
|
|
17
|
+
*/
|
|
18
|
+
export const FLAGS = [
|
|
19
|
+
'--json',
|
|
20
|
+
];
|
|
21
|
+
|
|
14
22
|
/**
|
|
15
23
|
* Mask a sensitive token (show start and end only)
|
|
16
24
|
* @param {string} token - Token to mask
|