2020-09-13 19:28:38 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`write-pages one category, one page with image example should write a category/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`true\` (default value)
2021-04-04 10:49:28 +00:00
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -bool "true"
2020-09-13 19:28:38 +00:00
\`\`\`
<img
2022-10-14 14:25:15 +00:00
src="./category-page-true.png"
alt="Example output with value set to true"
width="600" height="400" style="height: auto"
2020-09-13 19:28:38 +00:00
/>
## Set to \`false\`
2021-04-04 10:49:28 +00:00
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -bool "false"
2020-09-13 19:28:38 +00:00
\`\`\`
<img
2022-10-14 14:25:15 +00:00
src="./category-page-false.png"
alt="Example output with value set to false"
width="400" height="200" style="height: auto"
2020-09-13 19:28:38 +00:00
/>
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages one category, one page with text and possible values example should write a category/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: string
* start
* middle
* end
## Set to \`start\`
2021-04-04 10:49:28 +00:00
output when value is start
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "start"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`middle\` (default value)
2021-04-04 10:49:28 +00:00
output when value is middle
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "middle"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`end\`
2021-04-04 10:49:28 +00:00
output when value is end
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "end"
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
2020-11-13 11:22:04 +00:00
exports[`write-pages one category, one page with text example with a deleteAlert section should write a category/page.md file using the page template 1`] = `
"---
metaTitle: Page | Category | macOS defaults
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-11-13 11:22:04 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-11-13 11:22:04 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-11-13 11:22:04 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-11-13 11:22:04 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-11-13 11:22:04 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-11-13 11:22:04 +00:00
::: danger
This an alert message. <br> \`defaults command\`
:::
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page"
2020-11-13 11:22:04 +00:00
\`\`\`
"
`;
2020-09-13 19:28:38 +00:00
exports[`write-pages one category, one page with text example with an after command should write a category/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: string
## Set to \`~/Desktop\` (default value)
2021-04-04 10:49:28 +00:00
output when value is ~/Desktop
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "~/Desktop" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`~/Pictures\`
2021-04-04 10:49:28 +00:00
output when value is ~/Pictures
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "~/Pictures" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages one category, one page with text example with requirements should write a category/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: string
## Requirements
- [\`com.apple.category2 another-key\`](../../another-category/another-key.html#set-to-true) must be set to \`true\`
- [\`com.apple.category2 a-third-key\`](../../a-third-category/a-third-key.html#set-to-0.5) must be set to \`0.5\`
## Set to \`true\` (default value)
2021-04-04 10:49:28 +00:00
output when value is true
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "true" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`false\`
2021-04-04 10:49:28 +00:00
output when value is false
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -string "false" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page" && killall App
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
2021-04-06 05:36:44 +00:00
exports[`write-pages one category, one page with text example with special chars key and values should write a category/a-page.md file using the page template 1`] = `
2020-09-13 19:28:38 +00:00
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "This is a description of the page. It can contain "quotes" and markdown.\\n\\n- a list item"
- property: "og:description"
content: "This is a description of the page. It can contain "quotes" and markdown.\\n\\n- a list item"
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2022-10-14 14:25:15 +00:00
This is a description of the page. It can contain "quotes" and markdown.
2021-04-04 14:34:17 +00:00
- a list item
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`~/Desktop\` (default value)
2021-04-04 10:49:28 +00:00
output when value is ~/Desktop
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "a page" -bool "~/Desktop"
2020-09-13 19:28:38 +00:00
\`\`\`
2022-10-14 14:25:15 +00:00
## Set to \`"EEE d MMM HH:mm:ss"\`
2021-04-04 10:49:28 +00:00
2022-10-14 14:25:15 +00:00
output when value is "EEE d MMM HH:mm:ss"
2021-04-04 10:49:28 +00:00
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "a page" -bool "\\"EEE d MMM HH:mm:ss\\""
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "a page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "a page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages one category, one page with video example should write a category/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: float
## Set to \`0\` (default value)
2021-04-04 10:49:28 +00:00
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -float "0"
2020-09-13 19:28:38 +00:00
\`\`\`
2022-10-14 14:25:15 +00:00
<video autoplay loop muted playsinline width="750" height="400" style="max-width: 100%; height: auto">
<source src="./category-page-0.mp4" type="video/mp4">
2020-09-13 19:28:38 +00:00
Example output with value set to 0
</video>
## Set to \`0.5\`
2021-04-04 10:49:28 +00:00
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page" -float "0.5"
2020-09-13 19:28:38 +00:00
\`\`\`
2022-10-14 14:25:15 +00:00
<video autoplay loop muted playsinline width="720" height="390" style="max-width: 100%; height: auto">
<source src="./category-page-0.5.mp4" type="video/mp4">
2020-09-13 19:28:38 +00:00
Example output with value set to 0.5
</video>
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages one category, two pages should write a category/page1.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page 1 | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page 1
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page 1 description."
- property: "og:description"
content: "Page 1 description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page 1
2021-04-04 10:49:28 +00:00
Page 1 description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`true\` (default value)
2021-04-04 10:49:28 +00:00
output when value is true
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page1" -bool "true"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`false\`
2021-04-04 10:49:28 +00:00
output when value is false
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page1" -bool "false"
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page1"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page1"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages one category, two pages should write a category/page2.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page 2 | Category | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category > Page 2
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page 2 description."
- property: "og:description"
content: "Page 2 description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page 2
2021-04-04 10:49:28 +00:00
Page 2 description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`true\`
2021-04-04 10:49:28 +00:00
output when value is true
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page2" -bool "true"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`false\` (default value)
2021-04-04 10:49:28 +00:00
output when value is false
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category "page2" -bool "false"
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category "page2"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category "page2"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages two categories, one page in each should write a category1/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category 1 | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category 1 > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`true\` (default value)
2021-04-04 10:49:28 +00:00
output when value is true
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category1 "page" -bool "true"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`false\`
2021-04-04 10:49:28 +00:00
output when value is false
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category1 "page" -bool "false"
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category1 "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category1 "page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;
exports[`write-pages two categories, one page in each should write a category2/page.md file using the page template 1`] = `
"---
2020-09-13 15:38:00 +00:00
metaTitle: Page | Category 2 | macOS defaults
2020-09-13 19:28:38 +00:00
meta:
2022-10-14 14:25:15 +00:00
- property: "og:title"
2020-09-13 15:38:00 +00:00
content: macOS defaults > Category 2 > Page
2022-10-14 14:25:15 +00:00
- name: "description"
content: "Page description."
- property: "og:description"
content: "Page description."
- property: "twitter:card"
content: "summary"
- property: "twitter:image"
content: "https://macos-defaults.netlify.app/media-1x1.webp"
- property: "og:image"
content: "https://macos-defaults.netlify.app/media-1x1.jpg"
2020-09-13 19:28:38 +00:00
---
# Page
2021-04-04 10:49:28 +00:00
Page description.
2020-09-13 19:28:38 +00:00
2021-04-04 14:34:17 +00:00
<!-- break lists -->
2020-09-13 19:28:38 +00:00
- **Tested on macOS**:
* Big Sur
- **Parameter type**: bool
## Set to \`true\`
2021-04-04 10:49:28 +00:00
output when value is true
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category2 "page" -bool "true"
2020-09-13 19:28:38 +00:00
\`\`\`
## Set to \`false\` (default value)
2021-04-04 10:49:28 +00:00
output when value is false
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults write com.apple.category2 "page" -bool "false"
2020-09-13 19:28:38 +00:00
\`\`\`
## Read current value
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults read com.apple.category2 "page"
2020-09-13 19:28:38 +00:00
\`\`\`
2021-04-04 10:49:28 +00:00
## Reset to default value
2020-09-13 19:28:38 +00:00
\`\`\`bash
2022-10-14 14:25:15 +00:00
defaults delete com.apple.category2 "page"
2020-09-13 19:28:38 +00:00
\`\`\`
"
`;