nwui-cli 0.4.5 → 0.4.6

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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > nwui-cli@0.4.5 build /Users/dan/Developer/NativeWindUI/nativewindui/apps/cli
3
+ > nwui-cli@0.4.6 build /Users/dan/Developer/NativeWindUI/nativewindui/apps/cli
4
4
  > tsc && chmod +x ./build/index.js
5
5
 
package/build/index.js CHANGED
@@ -11,12 +11,14 @@ import { renderTitle } from './utils/opening.js';
11
11
  const main = async () => {
12
12
  let quiet = false;
13
13
  try {
14
- if (!quiet) {
14
+ if (!process.argv.includes('--quiet') && !process.argv.includes('-q')) {
15
15
  await renderTitle();
16
16
  }
17
17
  }
18
18
  catch (_err) {
19
- console.log(`\n${color.blue('welcome to the')} ${color.cyan('nativewindui cli')}`);
19
+ if (!quiet) {
20
+ console.log(`\n${color.blue('welcome to the')} ${color.cyan('nativewindui cli')}`);
21
+ }
20
22
  }
21
23
  try {
22
24
  switch (process.argv[2]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nwui-cli",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "NativeWindUI CLI",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",