Skip to content

Commit

Permalink
Data update 2024-10-19 12-24-10
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Oct 19, 2024
1 parent 8bf1506 commit 8f545e6
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 23 deletions.
39 changes: 21 additions & 18 deletions docs/en/common/ansible-galaxy.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
---
layout: page
title: common/ansible-galaxy (English)
description: "Create and manage Ansible roles."
content_hash: 9526fa978985f217d2203498b2e1eaab3941e58e
last_modified_at: 2023-11-12
description: "Perform various Ansible Role and Collection related operations."
content_hash: 20e32e4b0175a5f95ce12c17381c3f23383a8aec
last_modified_at: 2024-10-19
related_topics:
- title: Deutsch version
url: /de/common/ansible-galaxy.html
icon: bi bi-globe
- title: français version
url: /fr/common/ansible-galaxy.html
icon: bi bi-globe
- title: Indonesia version
url: /id/common/ansible-galaxy.html
icon: bi bi-globe
- title: italiano version
url: /it/common/ansible-galaxy.html
icon: bi bi-globe
Expand All @@ -24,33 +27,33 @@ tldri18n_status: 2
---
# ansible-galaxy

Create and manage Ansible roles.
Perform various Ansible Role and Collection related operations.
More information: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.

- Install a role:
- List installed roles or collections:

`ansible-galaxy install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>`.`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>
`ansible-galaxy `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role|collection</span>` list`

- Remove a role:
- Search for a role with various levels of verbosely (`-v` should be specified at the end):

`ansible-galaxy remove `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>`.`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>
`ansible-galaxy role search `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">keyword</span>` -v`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">vvvvv</span>

- List installed roles:
- Install or remove role(s):

`ansible-galaxy list`
`ansible-galaxy role `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">install|remove</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name1 role_name2 ...</span>

- Search for a given role:
- Create a new role:

`ansible-galaxy search `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>
`ansible-galaxy role init `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>

- Create a new role:
- Get information about a role:

`ansible-galaxy init `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>
`ansible-galaxy role info `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>

- Get information about a user role:
- Install or remove collection(s):

`ansible-galaxy role info `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>`.`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role_name</span>
`ansible-galaxy collection `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">install|remove</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">collection_name1 collection_name2 ...</span>

- Get information about a collection:
- Display help about roles or collections:

`ansible-galaxy collection info `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>`.`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">collection_name</span>
`ansible-galaxy `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">role|collection</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">-h|--help</span>
41 changes: 41 additions & 0 deletions docs/en/common/npm-doctor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
layout: page
title: common/npm-doctor (English)
description: "Check the health of the npm environment."
content_hash: 77a68c297ffb9f0d376f1cec57909a8df94bd5a9
last_modified_at: 2024-10-19
tldri18n_status: 0
---

### Outdated Translation
This entry is currently considered outdated and its contents may not be up-to-date with other translations.

Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly.

<a class="btn btn-primary" href="{{ site.url }}/en/common/npm-doctor.html">View original (English) version</a>
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a>

<hr># npm doctor

Check the health of the npm environment.
More information: <https://docs.npmjs.com/cli/commands/npm-doctor>.

- Run all default health checks for npm:

`npm doctor`

- Check the connection to the npm registry:

`npm doctor connection`

- Check the versions of Node.js and npm in use:

`npm doctor versions`

- Check for permissions issues with npm directories and cache:

`npm doctor permissions`

- Validate the cached package files and checksums:

`npm doctor cache`
49 changes: 49 additions & 0 deletions docs/en/common/npm-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
layout: page
title: common/npm-view (English)
description: "View registry information about a package."
content_hash: 04d21f42ab5957a4f702585b06592927834948b3
last_modified_at: 2024-10-19
tldri18n_status: 0
---

### Outdated Translation
This entry is currently considered outdated and its contents may not be up-to-date with other translations.

Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly.

<a class="btn btn-primary" href="{{ site.url }}/en/common/npm-view.html">View original (English) version</a>
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a>

<hr># npm view

View registry information about a package.
More information: <https://docs.npmjs.com/cli/commands/npm-view>.

- View information about the latest version of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>

- View information about a specific version of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>`@`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">version</span>

- View all available versions of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` versions`

- View the description of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` description`

- View the dependencies of the latest version of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` dependencies`

- View the repository URL of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` repository`

- View the maintainers of a package:

`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` maintainers`
12 changes: 8 additions & 4 deletions docs/en/common/typst.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: page
title: common/typst (English)
description: "Compile a Typst file to PDF."
content_hash: 49c70c7ef1389ba32bb96e685896c5ec103b5123
last_modified_at: 2023-11-12
content_hash: 6af99c18046fd0cce005d68dacbcf7dcbc73f65a
last_modified_at: 2024-10-19
tldri18n_status: 2
---
# typst
Expand All @@ -12,9 +12,9 @@ Compile a Typst file to PDF.
Note: Specifying the output location is optional.
More information: <https://github.com/typst/typst>.

- List all discoverable fonts in the system and the given directory:
- Initialize a new Typst project in a given directory using a template (e.g., `@preview/charged-ieee`):

`typst --font-path `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/fonts_directory</span>` fonts`
`typst init "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">template</span>`" `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/directory</span>

- Compile a Typst file:

Expand All @@ -23,3 +23,7 @@ More information: <https://github.com/typst/typst>.
- Watch a Typst file and recompile on changes:

`typst watch `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/source.typ</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/output.pdf</span>

- List all discoverable fonts in the system and the given directory:

`typst --font-path `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/fonts_directory</span>` fonts`
2 changes: 1 addition & 1 deletion source

0 comments on commit 8f545e6

Please sign in to comment.