diff --git a/tldr/bun-link b/tldr/bun-link new file mode 100644 index 00000000..251b7fd7 --- /dev/null +++ b/tldr/bun-link @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bun link + +> Bun command to register the current package as a linkable package. +> More information: . + +- Link the package globally: + +`bun link` + +- Link a package locally to a project: + +`bun link {{package_name}}` + +- Link directly from a local path: + +`bun link {{path/to/package}}` + +- Unlink a package: + +`bun unlink {{package_name}}` + +- Unlink a global package: + +`bun unlink --global {{package_name}}` + +- Display help: + +`bun link --help` diff --git a/tldr/bun-remove b/tldr/bun-remove new file mode 100644 index 00000000..871836c4 --- /dev/null +++ b/tldr/bun-remove @@ -0,0 +1,30 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bun remove + +> Remove a dependency from `package.json`. +> Note: `rm` can be used as an alias for `remove`. +> More information: . + +- Remove a dependency: + +`bun remove {{package_name}}` + +- Remove multiple dependencies: + +`bun remove {{package_name1 package_name2 ...}}` + +- Remove a globally installed package: + +`bun remove {{[-g|--global]}} {{package_name}}` + +- Remove a dependency without updating the `package.json` file: + +`bun remove --no-save {{package_name}}` + +- Run the command without actually removing packages (simulate the removal): + +`bun remove --dry-run {{package_name}}` diff --git a/tldr/bun-rm b/tldr/bun-rm new file mode 100644 index 00000000..aec99fc1 --- /dev/null +++ b/tldr/bun-rm @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bun rm + +> This command is an alias of `bun remove`. + +- View documentation for the original command: + +`tldr bun remove` diff --git a/tldr/kaggle-competitions b/tldr/kaggle-competitions new file mode 100644 index 00000000..cfac8735 --- /dev/null +++ b/tldr/kaggle-competitions @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# kaggle competitions + +> Manage Kaggle competitions from the command-line. +> More information: . + +- List all competitions: + +`kaggle {{[c|competitions]}} list` + +- Download competition data: + +`kaggle {{[c|competitions]}} download {{competition_name}}` + +- Download specific file: + +`kaggle {{[c|competitions]}} download {{competition_name}} {{[-f|--file]}} {{file}}` + +- Submit files to a competition: + +`kaggle {{[c|competitions]}} submit {{competition_name}} {{[-f|--file]}} {{path/to/file}} {{[-m|--message]}} "{{message}}"` + +- Show or download leaderboard: + +`kaggle {{[c|competitions]}} leaderboard {{competition_name}} {{--show|--download}}` + +- View submissions: + +`kaggle {{[c|competitions]}} submissions {{competition_name}}` diff --git a/tldr/kaggle-datasets b/tldr/kaggle-datasets new file mode 100644 index 00000000..00ef78a7 --- /dev/null +++ b/tldr/kaggle-datasets @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# kaggle datasets + +> Manage Kaggle datasets from command line. +> More information: . + +- List all datasets owned by a user or organization: + +`kaggle {{[d|datasets]}} list --user {{username}}` + +- Search dataset by name: + +`kaggle {{[d|datasets]}} list {{[-s|--search]}} "{{dataset_name}}"` + +- Download a dataset: + +`kaggle {{[d|datasets]}} download "{{dataset_name}}"` + +- Create a public dataset: + +`kaggle {{[d|datasets]}} create {{[-p|--path]}} {{path/to/dataset}} {{[-u|--public]}}` + +- Download metadata of dataset: + +`kaggle {{[d|datasets]}} metadata {{dataset_name}}` + +- Initialize metadata for dataset: + +`kaggle {{[d|datasets]}} init {{[-p|--path]}} {{path/to/dataset}}` + +- Delete a dataset: + +`kaggle {{[d|datasets]}} delete {{dataset_name}}` diff --git a/tldr/linux/bluetoothctl b/tldr/linux/bluetoothctl index 758f9f67..8db9d064 100644 --- a/tldr/linux/bluetoothctl +++ b/tldr/linux/bluetoothctl @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # bluetoothctl > Manage Bluetooth devices. +> See also: `bluetui`. > More information: . - Enter the `bluetoothctl` shell: diff --git a/tldr/linux/bluetui b/tldr/linux/bluetui new file mode 100644 index 00000000..614559f7 --- /dev/null +++ b/tldr/linux/bluetui @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# bluetui + +> Manage Bluetooth devices with a terminal UI. +> See also: `bluetoothctl`. +> More information: . + +- Start the program: + +`bluetui` + +- Display help: + +`bluetui {{[-h|--help]}}` diff --git a/tldr/linux/iw b/tldr/linux/iw index 47dcc185..afa236c0 100644 --- a/tldr/linux/iw +++ b/tldr/linux/iw @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # iw > Show and manipulate wireless devices. -> See also: `iw dev`. +> See also: `iw dev`, `nmcli`, `iwctl`. > More information: . - Scan for available wireless networks: diff --git a/tldr/linux/iwctl b/tldr/linux/iwctl index 9c2cfa1c..6596553f 100644 --- a/tldr/linux/iwctl +++ b/tldr/linux/iwctl @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # iwctl > Control the `iwd` network supplicant. +> See also: `nmcli`, `iw`. > More information: . - Run `iwctl` in interactive mode: diff --git a/tldr/linux/koji-build b/tldr/linux/koji-build new file mode 100644 index 00000000..38ab5e63 --- /dev/null +++ b/tldr/linux/koji-build @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# koji build + +> Build an RPM package. +> More information: . + +- Build a package from `src.rpm`: + +`koji build {{target}} {{path/to/src.rpm}}` + +- Build a package from a SCM (Source Code Management) URL: + +`koji build {{target}} {{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}` + +- Perform a scratch build: + +`koji build {{target}} {{path/to/src.rpm}} --scratch` + +- Wait on the build, even if it's running in the background: + +`koji build {{target}} {{path/to/src.rpm}} --wait` + +- Don't wait on build: + +`koji build {{target}} {{path/to/src.rpm}} --nowait` + +- Display help: + +`koji build --help` diff --git a/tldr/linux/nmcli b/tldr/linux/nmcli index dace3fb8..bc7cec8b 100644 --- a/tldr/linux/nmcli +++ b/tldr/linux/nmcli @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nmcli > Manage the network configuration using NetworkManager. -> See also: `nmtui`. +> See also: `nmtui`, `iw`, `iwctl`. > More information: . - View documentation for managing network interfaces and establishing new Wi-Fi connections: diff --git a/tldr/linux/systemctl-set-property b/tldr/linux/systemctl-set-property new file mode 100644 index 00000000..9964fdfc --- /dev/null +++ b/tldr/linux/systemctl-set-property @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl set-property + +> Set the specified unit properties at runtime. +> More information: . + +- Set a property for a running service: + +`systemctl set-property {{unit}} {{property}}={{value}}` + +- Set multiple properties at once: + +`systemctl set-property {{unit}} {{property_1=value_1 property_2=value_2 ...}}` + +- Set a property only for the current runtime session (not persistent): + +`systemctl set-property {{unit}} {{property}}={{value}} --runtime` + +- Reset a property to its default value: + +`systemctl set-property {{unit}} {{property}}=` + +- Reset multiple properties to its default values: + +`systemctl set-property {{unit}} {{property_1= property_2= ...}}` diff --git a/tldr/poetry-export b/tldr/poetry-export new file mode 100644 index 00000000..b4d164f4 --- /dev/null +++ b/tldr/poetry-export @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# poetry export + +> Export Poetry's lock file to other formats. +> Provided by the Export Poetry Plugin. +> More information: . + +- Export dependencies to a `requirements.txt` file: + +`poetry export {{[-o|--output]}} {{requirements.txt}}` + +- Export dependencies including development dependencies: + +`poetry export {{[-o|--output]}} {{requirements-dev.txt}} --dev` + +- Export dependencies without hashes: + +`poetry export {{[-o|--output]}} {{requirements.txt}} --without-hashes` + +- Export dependencies for a specific format: + +`poetry export {{[-o|--output]}} {{requirements.txt}} {{[-f|--format]}} {{requirements.txt}}` + +- Export only specific dependency groups: + +`poetry export {{[-o|--output]}} {{requirements.txt}} --only {{main}}` + +- Display help: + +`poetry export {{[-h|--help]}}` diff --git a/tldr/vimtutor b/tldr/vimtutor index da725b0d..4db90a29 100644 --- a/tldr/vimtutor +++ b/tldr/vimtutor @@ -9,9 +9,9 @@ source: https://github.com/tldr-pages/tldr.git > See also: `vim`, `vimdiff`, `nvim`. > More information: . -- Launch the vim tutor using the given language (en, fr, de, ...): +- Launch the vim tutor using the given language: -`vimtutor {{language}}` +`vimtutor {{en|fr|de|...}}` - Exit the tutor: diff --git a/tldr/windows/clear-history b/tldr/windows/clear-history index ee662cad..2eae254b 100644 --- a/tldr/windows/clear-history +++ b/tldr/windows/clear-history @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # Clear-History -> A powershell command to clear the entries in the current session. +> Delete entries from the PowerShell session command history. > Note: `clhy` can be used as an alias for `Clear-History`. > More information: . @@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Clear multiple commands by name: -`Clear-History -CommandLine "{{command_1}}", "{{command_2}}"` +`Clear-History -CommandLine {{"command1", "command2", ...}}` - Clear a specific history entry by ID: @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Clear multiple IDs: -`Clear-History -Id {{id_1}}, {{id_2}}, {{id_3}}` +`Clear-History -Id {{id1, id2, ...}}` - Clear commands within a range of IDs: