ntn 0.16.0 → 0.16.1

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/README.md CHANGED
@@ -4,10 +4,53 @@ A command-line interface for Notion.
4
4
 
5
5
  ## Installation
6
6
 
7
+ macOS and Linux:
8
+
7
9
  ```bash
8
10
  curl -fsSL https://ntn.dev | bash
9
11
  ```
10
12
 
13
+ Windows:
14
+
15
+ ```powershell
16
+ winget install --exact --id Notion.ntn
17
+ ```
18
+
19
+ Verify the Windows installation:
20
+
21
+ ```powershell
22
+ Get-Command ntn
23
+ ntn --version
24
+ winget list --exact --id Notion.ntn
25
+ ```
26
+
27
+ ### PowerShell completions
28
+
29
+ Enable completions for the current PowerShell session:
30
+
31
+ ```powershell
32
+ ntn completions powershell | Out-String | Invoke-Expression
33
+ ```
34
+
35
+ To enable them for future sessions, add the same command to your PowerShell
36
+ profile:
37
+
38
+ ```powershell
39
+ $completionSetup = 'ntn completions powershell | Out-String | Invoke-Expression'
40
+ if (-not (Test-Path $PROFILE)) {
41
+ New-Item -ItemType File -Path $PROFILE -Force | Out-Null
42
+ }
43
+ if (-not (Select-String -Path $PROFILE -SimpleMatch $completionSetup -Quiet)) {
44
+ Add-Content -Path $PROFILE -Value $completionSetup
45
+ }
46
+ . $PROFILE
47
+ ```
48
+
49
+ Windows PowerShell 5.1 and PowerShell 7 use different `$PROFILE` files. Run the
50
+ setup in each shell if you use both.
51
+
52
+ WinGet installs `ntn` but does not modify your PowerShell profile.
53
+
11
54
  ## What this is for
12
55
 
13
56
  `ntn` is the Notion CLI for authenticating with Notion and managing Notion
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntn",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Notion CLI",
5
5
  "license": "MIT",
6
6
  "bin": {