mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-03-14 15:46:25 +00:00
Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2e878ec30f | ||
|
726ce78de7 | ||
|
51e7644bb1 | ||
|
985b0046c4 | ||
|
38f269c660 | ||
|
f6b61410c0 | ||
|
42e50f66c8 | ||
|
c5012d0190 | ||
|
14421bd791 | ||
|
7af1f75c5e | ||
|
320609fceb | ||
|
9e70d61133 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -21,6 +21,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
corepack yarn
|
corepack yarn
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
env:
|
||||||
|
SHELLCHECK_SEVERITY: warning
|
||||||
run: |
|
run: |
|
||||||
corepack yarn lint
|
corepack yarn lint
|
||||||
- name: Test
|
- name: Test
|
||||||
|
@ -11,14 +11,14 @@ Unplanned.
|
|||||||
## main
|
## main
|
||||||
|
|
||||||
Released: TBA.
|
Released: TBA.
|
||||||
[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.6.0...main).
|
[Diff](https://github.com/kvz/bash3boilerplate/compare/2.7.2...main).
|
||||||
|
|
||||||
- [ ]
|
- [ ]
|
||||||
|
|
||||||
## v2.6.0
|
## 2.7.2
|
||||||
|
|
||||||
Released: 2023-08-29
|
Released: 2023-08-29
|
||||||
[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.4.1...v2.6.0).
|
[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.4.1...2.7.2).
|
||||||
|
|
||||||
- [x] Upgrade and cleanup node dependencies
|
- [x] Upgrade and cleanup node dependencies
|
||||||
- [x] Remove lanyon-based website in favor of simple redirect to github for bash3boilerplate.sh
|
- [x] Remove lanyon-based website in favor of simple redirect to github for bash3boilerplate.sh
|
||||||
|
18
README.md
18
README.md
@ -30,7 +30,7 @@ We call it "BASH3 Boilerplate" or b3bp for short.
|
|||||||
|
|
||||||
## Goals
|
## Goals
|
||||||
|
|
||||||
Delete-Key-**Friendly**. Instead of introducing packages, includes, compilers, etc., we propose using [`main.sh`](http://bash3boilerplate.sh/main.sh) as a base and removing the parts you don't need.
|
Delete-Key-**Friendly**. Instead of introducing packages, includes, compilers, etc., we propose using [`main.sh`](https://bash3boilerplate.sh/main.sh) as a base and removing the parts you don't need.
|
||||||
While this may feel a bit archaic at first, it is exactly the strength of Bash scripts that we should want to embrace.
|
While this may feel a bit archaic at first, it is exactly the strength of Bash scripts that we should want to embrace.
|
||||||
|
|
||||||
**Portable**. We are targeting Bash 3 (OSX still ships
|
**Portable**. We are targeting Bash 3 (OSX still ships
|
||||||
@ -45,7 +45,7 @@ dependency.
|
|||||||
- Configuration by environment variables
|
- Configuration by environment variables
|
||||||
- Simple command-line argument parsing that requires no external dependencies. Definitions are parsed from help info, ensuring there will be no duplication
|
- Simple command-line argument parsing that requires no external dependencies. Definitions are parsed from help info, ensuring there will be no duplication
|
||||||
- Helpful magic variables like `__file` and `__dir`
|
- Helpful magic variables like `__file` and `__dir`
|
||||||
- Logging that supports colors and is compatible with [Syslog Severity levels](http://en.wikipedia.org/wiki/Syslog#Severity_levels), as well as the [twelve-factor](http://12factor.net/) guidelines
|
- Logging that supports colors and is compatible with [Syslog Severity levels](https://en.wikipedia.org/wiki/Syslog#Severity_levels), as well as the [twelve-factor](https://12factor.net/) guidelines
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ There are three different ways to install b3bp:
|
|||||||
Use curl or wget to download the source and save it as your script. Then you can start deleting the unwanted bits, and adding your own logic.
|
Use curl or wget to download the source and save it as your script. Then you can start deleting the unwanted bits, and adding your own logic.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget http://bash3boilerplate.sh/main.sh
|
wget https://bash3boilerplate.sh/main.sh
|
||||||
vim main.sh
|
vim main.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -140,22 +140,22 @@ $ my_script some more args --blah
|
|||||||
## Who uses b3bp?
|
## Who uses b3bp?
|
||||||
|
|
||||||
- [Transloadit](https://transloadit.com)
|
- [Transloadit](https://transloadit.com)
|
||||||
- [OpenCoarrays](http://www.opencoarrays.org)
|
- [OpenCoarrays](https://www.opencoarrays.org)
|
||||||
- [Sourcery Institute](http://www.sourceryinstitute.org)
|
- [Sourcery Institute](https://www.sourceryinstitute.org)
|
||||||
- [Computational Brain Anatomy Laboratory](http://cobralab.ca/)
|
- [Computational Brain Anatomy Laboratory](https://cobralab.ca/)
|
||||||
- [Genesis Cloud](https://genesiscloud.com/)
|
- [Genesis Cloud](https://genesiscloud.com/)
|
||||||
|
|
||||||
We are looking for endorsements! Are you also using b3bp? [Let us know](https://github.com/kvz/bash3boilerplate/issues/new?title=I%20use%20b3bp) and get listed.
|
We are looking for endorsements! Are you also using b3bp? [Let us know](https://github.com/kvz/bash3boilerplate/issues/new?title=I%20use%20b3bp) and get listed.
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
- [Kevin van Zonneveld](http://kvz.io)
|
- [Kevin van Zonneveld](https://kvz.io)
|
||||||
- [Izaak Beekman](https://izaakbeekman.com/)
|
- [Izaak Beekman](https://izaakbeekman.com/)
|
||||||
- [Manuel Streuhofer](https://github.com/mstreuhofer)
|
- [Manuel Streuhofer](https://github.com/mstreuhofer)
|
||||||
- [Alexander Rathai](mailto:Alexander.Rathai@gmail.com)
|
- [Alexander Rathai](mailto:Alexander.Rathai@gmail.com)
|
||||||
- [Dr. Damian Rouson](http://www.sourceryinstitute.org/) (documentation, feedback)
|
- [Dr. Damian Rouson](https://www.sourceryinstitute.org/) (documentation, feedback)
|
||||||
- [@jokajak](https://github.com/jokajak) (documentation)
|
- [@jokajak](https://github.com/jokajak) (documentation)
|
||||||
- [Gabriel A. Devenyi](http://staticwave.ca/) (feedback)
|
- [Gabriel A. Devenyi](https://staticwave.ca/) (feedback)
|
||||||
- [@bravo-kernel](https://github.com/bravo-kernel) (feedback)
|
- [@bravo-kernel](https://github.com/bravo-kernel) (feedback)
|
||||||
- [@skanga](https://github.com/skanga) (feedback)
|
- [@skanga](https://github.com/skanga) (feedback)
|
||||||
- [galaktos](https://www.reddit.com/user/galaktos) (feedback)
|
- [galaktos](https://www.reddit.com/user/galaktos) (feedback)
|
||||||
|
59
main.sh
59
main.sh
@ -7,64 +7,7 @@
|
|||||||
#
|
#
|
||||||
# LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script)
|
# LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script)
|
||||||
#
|
#
|
||||||
# Based on a template by BASH3 Boilerplate v[31m[1mUnknown Syntax Error[22m[39m: Command not found; did you mean one of:
|
# Based on a template by BASH3 Boilerplate vv2.7.2
|
||||||
|
|
||||||
0. yarn cache clean [--mirror] [--all]
|
|
||||||
1. yarn cache clean [--mirror] [--all]
|
|
||||||
2. yarn config get [--json] [--no-redacted] <name>
|
|
||||||
3. yarn config set [--json] [-H,--home] <name> <value>
|
|
||||||
4. yarn config unset [-H,--home] <name>
|
|
||||||
5. yarn set resolution [-s,--save] <descriptor> <resolution>
|
|
||||||
6. yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force] [--skip-plugins]
|
|
||||||
7. yarn set version [--only-if-needed] <version>
|
|
||||||
8. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
|
|
||||||
9. yarn --clipanion=definitions
|
|
||||||
10. yarn help
|
|
||||||
11. yarn help
|
|
||||||
12. yarn help
|
|
||||||
13. yarn <leadingArgument> ...
|
|
||||||
14. yarn -v
|
|
||||||
15. yarn -v
|
|
||||||
16. yarn bin [-v,--verbose] [--json] [name]
|
|
||||||
17. yarn config [-v,--verbose] [--why] [--json]
|
|
||||||
18. yarn dedupe [-s,--strategy #0] [-c,--check] [--json] [--mode #0] ...
|
|
||||||
19. yarn exec <commandName> ...
|
|
||||||
20. yarn explain peer-requirements [hash]
|
|
||||||
21. yarn explain [--json] [code]
|
|
||||||
22. yarn info [-A,--all] [-R,--recursive] [-X,--extra #0] [--cache] [--dependents] [--manifest] [--name-only] [--virtuals] [--json] ...
|
|
||||||
23. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
|
|
||||||
24. yarn link [-A,--all] [-p,--private] [-r,--relative] <destination>
|
|
||||||
25. yarn unlink [-A,--all] ...
|
|
||||||
26. yarn node ...
|
|
||||||
27. yarn plugin import from sources [--path #0] [--repository #0] [--branch #0] [--no-minify] [-f,--force] <name>
|
|
||||||
28. yarn plugin import <name>
|
|
||||||
29. yarn plugin remove <name>
|
|
||||||
30. yarn plugin list [--json]
|
|
||||||
31. yarn plugin runtime [--json]
|
|
||||||
32. yarn rebuild ...
|
|
||||||
33. yarn remove [-A,--all] [--mode #0] ...
|
|
||||||
34. yarn run
|
|
||||||
35. yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...
|
|
||||||
36. yarn why [-R,--recursive] [--json] [--peers] <package>
|
|
||||||
37. yarn workspace <workspaceName> <commandName> ...
|
|
||||||
38. yarn create [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
39. yarn dlx [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
40. yarn init [-p,--private] [-w,--workspace] [-i,--install]
|
|
||||||
41. yarn npm audit [-A,--all] [-R,--recursive] [--environment #0] [--json] [--severity #0] [--exclude #0] [--ignore #0]
|
|
||||||
42. yarn npm info [-f,--fields #0] [--json] ...
|
|
||||||
43. yarn npm login [-s,--scope #0] [--publish] [--always-auth]
|
|
||||||
44. yarn npm logout [-s,--scope #0] [--publish] [-A,--all]
|
|
||||||
45. yarn npm publish [--access #0] [--tag #0] [--tolerate-republish] [--otp #0]
|
|
||||||
46. yarn npm tag add <package> <tag>
|
|
||||||
47. yarn npm tag list [--json] [package]
|
|
||||||
48. yarn npm tag remove <package> <tag>
|
|
||||||
49. yarn npm whoami [-s,--scope #0] [--publish]
|
|
||||||
50. yarn pack [--install-if-needed] [-n,--dry-run] [--json] [-o,--out #0]
|
|
||||||
51. yarn patch-commit [-s,--save] <patchFolder>
|
|
||||||
52. yarn patch [--json] <package>
|
|
||||||
53. yarn unplug [-A,--all] [-R,--recursive] [--json] ...
|
|
||||||
|
|
||||||
While running --silent version:current
|
|
||||||
# http://bash3boilerplate.sh/#authors
|
# http://bash3boilerplate.sh/#authors
|
||||||
#
|
#
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"name": "bash3boilerplate",
|
"name": "bash3boilerplate",
|
||||||
"description": "Copypastable templates to write better bash scripts",
|
"description": "Copypastable templates to write better bash scripts",
|
||||||
"version": "2.7.0",
|
"version": "2.7.2",
|
||||||
"packageManager": "yarn@3.6.0+sha224.19e47520fa56c6146388fdeb438d9dcf6630c3f277a2e1180995c3bb",
|
"packageManager": "yarn@3.6.0+sha224.19e47520fa56c6146388fdeb438d9dcf6630c3f277a2e1180995c3bb",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18",
|
"node": ">= 18",
|
||||||
"yarn": "3.6.0"
|
"yarn": "3.6.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint:shellcheck": "SEV=info; if [ \"${CI:-false}\" = \"true\" ]; then SEV=warning; fi; shellcheck --severity=${SEV} $(find . -name '*.sh' -maxdepth 2)",
|
"lint:shellcheck": "shellcheck --severity=${SHELLCHECK_SEVERITY:-info} $(find . -name '*.sh' -maxdepth 2)",
|
||||||
"lint:style": "test/style.pl $(find . -name '*.sh' -maxdepth 2)",
|
"lint:style": "test/style.pl $(find . -name '*.sh' -maxdepth 2)",
|
||||||
"lint": "npm-run-all -l 'lint:**'",
|
"lint": "npm-run-all -l 'lint:**'",
|
||||||
"release:major": "env SEMANTIC=major yarn release",
|
"release:major": "env SEMANTIC=major yarn release",
|
||||||
"release:minor": "env SEMANTIC=minor yarn release",
|
"release:minor": "env SEMANTIC=minor yarn release",
|
||||||
"release:patch": "env SEMANTIC=patch yarn release",
|
"release:patch": "env SEMANTIC=patch yarn release",
|
||||||
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && yarn version:replace && git commit main.sh src/*.sh -m 'Update version' && git push && git push --tags && npm publish",
|
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && yarn version:replace && git commit main.sh src/*.sh -m 'Update version' && git push && git push --tags -f && npm publish",
|
||||||
"test:debug:main:repeated": "env LOG_LEVEL=7 test/acceptance.sh main-repeated",
|
"test:debug:main:repeated": "env LOG_LEVEL=7 test/acceptance.sh main-repeated",
|
||||||
"test:update": "env SAVE_FIXTURES=true yarn test",
|
"test:update": "env SAVE_FIXTURES=true yarn test",
|
||||||
"test": "test/acceptance.sh",
|
"test": "test/acceptance.sh",
|
||||||
|
@ -19,64 +19,7 @@
|
|||||||
#
|
#
|
||||||
# ini_val.sh data.ini connection.host 127.0.0.1 "Host name or IP address"
|
# ini_val.sh data.ini connection.host 127.0.0.1 "Host name or IP address"
|
||||||
#
|
#
|
||||||
# Based on a template by BASH3 Boilerplate v[31m[1mUnknown Syntax Error[22m[39m: Command not found; did you mean one of:
|
# Based on a template by BASH3 Boilerplate vv2.7.2
|
||||||
|
|
||||||
0. yarn cache clean [--mirror] [--all]
|
|
||||||
1. yarn cache clean [--mirror] [--all]
|
|
||||||
2. yarn config get [--json] [--no-redacted] <name>
|
|
||||||
3. yarn config set [--json] [-H,--home] <name> <value>
|
|
||||||
4. yarn config unset [-H,--home] <name>
|
|
||||||
5. yarn set resolution [-s,--save] <descriptor> <resolution>
|
|
||||||
6. yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force] [--skip-plugins]
|
|
||||||
7. yarn set version [--only-if-needed] <version>
|
|
||||||
8. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
|
|
||||||
9. yarn --clipanion=definitions
|
|
||||||
10. yarn help
|
|
||||||
11. yarn help
|
|
||||||
12. yarn help
|
|
||||||
13. yarn <leadingArgument> ...
|
|
||||||
14. yarn -v
|
|
||||||
15. yarn -v
|
|
||||||
16. yarn bin [-v,--verbose] [--json] [name]
|
|
||||||
17. yarn config [-v,--verbose] [--why] [--json]
|
|
||||||
18. yarn dedupe [-s,--strategy #0] [-c,--check] [--json] [--mode #0] ...
|
|
||||||
19. yarn exec <commandName> ...
|
|
||||||
20. yarn explain peer-requirements [hash]
|
|
||||||
21. yarn explain [--json] [code]
|
|
||||||
22. yarn info [-A,--all] [-R,--recursive] [-X,--extra #0] [--cache] [--dependents] [--manifest] [--name-only] [--virtuals] [--json] ...
|
|
||||||
23. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
|
|
||||||
24. yarn link [-A,--all] [-p,--private] [-r,--relative] <destination>
|
|
||||||
25. yarn unlink [-A,--all] ...
|
|
||||||
26. yarn node ...
|
|
||||||
27. yarn plugin import from sources [--path #0] [--repository #0] [--branch #0] [--no-minify] [-f,--force] <name>
|
|
||||||
28. yarn plugin import <name>
|
|
||||||
29. yarn plugin remove <name>
|
|
||||||
30. yarn plugin list [--json]
|
|
||||||
31. yarn plugin runtime [--json]
|
|
||||||
32. yarn rebuild ...
|
|
||||||
33. yarn remove [-A,--all] [--mode #0] ...
|
|
||||||
34. yarn run
|
|
||||||
35. yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...
|
|
||||||
36. yarn why [-R,--recursive] [--json] [--peers] <package>
|
|
||||||
37. yarn workspace <workspaceName> <commandName> ...
|
|
||||||
38. yarn create [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
39. yarn dlx [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
40. yarn init [-p,--private] [-w,--workspace] [-i,--install]
|
|
||||||
41. yarn npm audit [-A,--all] [-R,--recursive] [--environment #0] [--json] [--severity #0] [--exclude #0] [--ignore #0]
|
|
||||||
42. yarn npm info [-f,--fields #0] [--json] ...
|
|
||||||
43. yarn npm login [-s,--scope #0] [--publish] [--always-auth]
|
|
||||||
44. yarn npm logout [-s,--scope #0] [--publish] [-A,--all]
|
|
||||||
45. yarn npm publish [--access #0] [--tag #0] [--tolerate-republish] [--otp #0]
|
|
||||||
46. yarn npm tag add <package> <tag>
|
|
||||||
47. yarn npm tag list [--json] [package]
|
|
||||||
48. yarn npm tag remove <package> <tag>
|
|
||||||
49. yarn npm whoami [-s,--scope #0] [--publish]
|
|
||||||
50. yarn pack [--install-if-needed] [-n,--dry-run] [--json] [-o,--out #0]
|
|
||||||
51. yarn patch-commit [-s,--save] <patchFolder>
|
|
||||||
52. yarn patch [--json] <package>
|
|
||||||
53. yarn unplug [-A,--all] [-R,--recursive] [--json] ...
|
|
||||||
|
|
||||||
While running --silent version:current
|
|
||||||
# http://bash3boilerplate.sh/#authors
|
# http://bash3boilerplate.sh/#authors
|
||||||
#
|
#
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
@ -20,64 +20,7 @@
|
|||||||
#
|
#
|
||||||
# megamount.sh smb://janedoe:abc123@192.168.0.1/documents /mnt/documents
|
# megamount.sh smb://janedoe:abc123@192.168.0.1/documents /mnt/documents
|
||||||
#
|
#
|
||||||
# Based on a template by BASH3 Boilerplate v[31m[1mUnknown Syntax Error[22m[39m: Command not found; did you mean one of:
|
# Based on a template by BASH3 Boilerplate vv2.7.2
|
||||||
|
|
||||||
0. yarn cache clean [--mirror] [--all]
|
|
||||||
1. yarn cache clean [--mirror] [--all]
|
|
||||||
2. yarn config get [--json] [--no-redacted] <name>
|
|
||||||
3. yarn config set [--json] [-H,--home] <name> <value>
|
|
||||||
4. yarn config unset [-H,--home] <name>
|
|
||||||
5. yarn set resolution [-s,--save] <descriptor> <resolution>
|
|
||||||
6. yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force] [--skip-plugins]
|
|
||||||
7. yarn set version [--only-if-needed] <version>
|
|
||||||
8. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
|
|
||||||
9. yarn --clipanion=definitions
|
|
||||||
10. yarn help
|
|
||||||
11. yarn help
|
|
||||||
12. yarn help
|
|
||||||
13. yarn <leadingArgument> ...
|
|
||||||
14. yarn -v
|
|
||||||
15. yarn -v
|
|
||||||
16. yarn bin [-v,--verbose] [--json] [name]
|
|
||||||
17. yarn config [-v,--verbose] [--why] [--json]
|
|
||||||
18. yarn dedupe [-s,--strategy #0] [-c,--check] [--json] [--mode #0] ...
|
|
||||||
19. yarn exec <commandName> ...
|
|
||||||
20. yarn explain peer-requirements [hash]
|
|
||||||
21. yarn explain [--json] [code]
|
|
||||||
22. yarn info [-A,--all] [-R,--recursive] [-X,--extra #0] [--cache] [--dependents] [--manifest] [--name-only] [--virtuals] [--json] ...
|
|
||||||
23. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
|
|
||||||
24. yarn link [-A,--all] [-p,--private] [-r,--relative] <destination>
|
|
||||||
25. yarn unlink [-A,--all] ...
|
|
||||||
26. yarn node ...
|
|
||||||
27. yarn plugin import from sources [--path #0] [--repository #0] [--branch #0] [--no-minify] [-f,--force] <name>
|
|
||||||
28. yarn plugin import <name>
|
|
||||||
29. yarn plugin remove <name>
|
|
||||||
30. yarn plugin list [--json]
|
|
||||||
31. yarn plugin runtime [--json]
|
|
||||||
32. yarn rebuild ...
|
|
||||||
33. yarn remove [-A,--all] [--mode #0] ...
|
|
||||||
34. yarn run
|
|
||||||
35. yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...
|
|
||||||
36. yarn why [-R,--recursive] [--json] [--peers] <package>
|
|
||||||
37. yarn workspace <workspaceName> <commandName> ...
|
|
||||||
38. yarn create [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
39. yarn dlx [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
40. yarn init [-p,--private] [-w,--workspace] [-i,--install]
|
|
||||||
41. yarn npm audit [-A,--all] [-R,--recursive] [--environment #0] [--json] [--severity #0] [--exclude #0] [--ignore #0]
|
|
||||||
42. yarn npm info [-f,--fields #0] [--json] ...
|
|
||||||
43. yarn npm login [-s,--scope #0] [--publish] [--always-auth]
|
|
||||||
44. yarn npm logout [-s,--scope #0] [--publish] [-A,--all]
|
|
||||||
45. yarn npm publish [--access #0] [--tag #0] [--tolerate-republish] [--otp #0]
|
|
||||||
46. yarn npm tag add <package> <tag>
|
|
||||||
47. yarn npm tag list [--json] [package]
|
|
||||||
48. yarn npm tag remove <package> <tag>
|
|
||||||
49. yarn npm whoami [-s,--scope #0] [--publish]
|
|
||||||
50. yarn pack [--install-if-needed] [-n,--dry-run] [--json] [-o,--out #0]
|
|
||||||
51. yarn patch-commit [-s,--save] <patchFolder>
|
|
||||||
52. yarn patch [--json] <package>
|
|
||||||
53. yarn unplug [-A,--all] [-R,--recursive] [--json] ...
|
|
||||||
|
|
||||||
While running --silent version:current
|
|
||||||
# http://bash3boilerplate.sh/#authors
|
# http://bash3boilerplate.sh/#authors
|
||||||
#
|
#
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
@ -18,64 +18,7 @@
|
|||||||
#
|
#
|
||||||
# parse_url.sh 'http://johndoe:abc123@example.com:8080/index.html'
|
# parse_url.sh 'http://johndoe:abc123@example.com:8080/index.html'
|
||||||
#
|
#
|
||||||
# Based on a template by BASH3 Boilerplate v[31m[1mUnknown Syntax Error[22m[39m: Command not found; did you mean one of:
|
# Based on a template by BASH3 Boilerplate vv2.7.2
|
||||||
|
|
||||||
0. yarn cache clean [--mirror] [--all]
|
|
||||||
1. yarn cache clean [--mirror] [--all]
|
|
||||||
2. yarn config get [--json] [--no-redacted] <name>
|
|
||||||
3. yarn config set [--json] [-H,--home] <name> <value>
|
|
||||||
4. yarn config unset [-H,--home] <name>
|
|
||||||
5. yarn set resolution [-s,--save] <descriptor> <resolution>
|
|
||||||
6. yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force] [--skip-plugins]
|
|
||||||
7. yarn set version [--only-if-needed] <version>
|
|
||||||
8. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
|
|
||||||
9. yarn --clipanion=definitions
|
|
||||||
10. yarn help
|
|
||||||
11. yarn help
|
|
||||||
12. yarn help
|
|
||||||
13. yarn <leadingArgument> ...
|
|
||||||
14. yarn -v
|
|
||||||
15. yarn -v
|
|
||||||
16. yarn bin [-v,--verbose] [--json] [name]
|
|
||||||
17. yarn config [-v,--verbose] [--why] [--json]
|
|
||||||
18. yarn dedupe [-s,--strategy #0] [-c,--check] [--json] [--mode #0] ...
|
|
||||||
19. yarn exec <commandName> ...
|
|
||||||
20. yarn explain peer-requirements [hash]
|
|
||||||
21. yarn explain [--json] [code]
|
|
||||||
22. yarn info [-A,--all] [-R,--recursive] [-X,--extra #0] [--cache] [--dependents] [--manifest] [--name-only] [--virtuals] [--json] ...
|
|
||||||
23. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
|
|
||||||
24. yarn link [-A,--all] [-p,--private] [-r,--relative] <destination>
|
|
||||||
25. yarn unlink [-A,--all] ...
|
|
||||||
26. yarn node ...
|
|
||||||
27. yarn plugin import from sources [--path #0] [--repository #0] [--branch #0] [--no-minify] [-f,--force] <name>
|
|
||||||
28. yarn plugin import <name>
|
|
||||||
29. yarn plugin remove <name>
|
|
||||||
30. yarn plugin list [--json]
|
|
||||||
31. yarn plugin runtime [--json]
|
|
||||||
32. yarn rebuild ...
|
|
||||||
33. yarn remove [-A,--all] [--mode #0] ...
|
|
||||||
34. yarn run
|
|
||||||
35. yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...
|
|
||||||
36. yarn why [-R,--recursive] [--json] [--peers] <package>
|
|
||||||
37. yarn workspace <workspaceName> <commandName> ...
|
|
||||||
38. yarn create [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
39. yarn dlx [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
40. yarn init [-p,--private] [-w,--workspace] [-i,--install]
|
|
||||||
41. yarn npm audit [-A,--all] [-R,--recursive] [--environment #0] [--json] [--severity #0] [--exclude #0] [--ignore #0]
|
|
||||||
42. yarn npm info [-f,--fields #0] [--json] ...
|
|
||||||
43. yarn npm login [-s,--scope #0] [--publish] [--always-auth]
|
|
||||||
44. yarn npm logout [-s,--scope #0] [--publish] [-A,--all]
|
|
||||||
45. yarn npm publish [--access #0] [--tag #0] [--tolerate-republish] [--otp #0]
|
|
||||||
46. yarn npm tag add <package> <tag>
|
|
||||||
47. yarn npm tag list [--json] [package]
|
|
||||||
48. yarn npm tag remove <package> <tag>
|
|
||||||
49. yarn npm whoami [-s,--scope #0] [--publish]
|
|
||||||
50. yarn pack [--install-if-needed] [-n,--dry-run] [--json] [-o,--out #0]
|
|
||||||
51. yarn patch-commit [-s,--save] <patchFolder>
|
|
||||||
52. yarn patch [--json] <package>
|
|
||||||
53. yarn unplug [-A,--all] [-R,--recursive] [--json] ...
|
|
||||||
|
|
||||||
While running --silent version:current
|
|
||||||
# http://bash3boilerplate.sh/#authors
|
# http://bash3boilerplate.sh/#authors
|
||||||
#
|
#
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
@ -16,64 +16,7 @@
|
|||||||
#
|
#
|
||||||
# ALLOW_REMAINDERS=1 templater.sh input.cfg output.cfg
|
# ALLOW_REMAINDERS=1 templater.sh input.cfg output.cfg
|
||||||
#
|
#
|
||||||
# Based on a template by BASH3 Boilerplate v[31m[1mUnknown Syntax Error[22m[39m: Command not found; did you mean one of:
|
# Based on a template by BASH3 Boilerplate vv2.7.2
|
||||||
|
|
||||||
0. yarn cache clean [--mirror] [--all]
|
|
||||||
1. yarn cache clean [--mirror] [--all]
|
|
||||||
2. yarn config get [--json] [--no-redacted] <name>
|
|
||||||
3. yarn config set [--json] [-H,--home] <name> <value>
|
|
||||||
4. yarn config unset [-H,--home] <name>
|
|
||||||
5. yarn set resolution [-s,--save] <descriptor> <resolution>
|
|
||||||
6. yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force] [--skip-plugins]
|
|
||||||
7. yarn set version [--only-if-needed] <version>
|
|
||||||
8. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
|
|
||||||
9. yarn --clipanion=definitions
|
|
||||||
10. yarn help
|
|
||||||
11. yarn help
|
|
||||||
12. yarn help
|
|
||||||
13. yarn <leadingArgument> ...
|
|
||||||
14. yarn -v
|
|
||||||
15. yarn -v
|
|
||||||
16. yarn bin [-v,--verbose] [--json] [name]
|
|
||||||
17. yarn config [-v,--verbose] [--why] [--json]
|
|
||||||
18. yarn dedupe [-s,--strategy #0] [-c,--check] [--json] [--mode #0] ...
|
|
||||||
19. yarn exec <commandName> ...
|
|
||||||
20. yarn explain peer-requirements [hash]
|
|
||||||
21. yarn explain [--json] [code]
|
|
||||||
22. yarn info [-A,--all] [-R,--recursive] [-X,--extra #0] [--cache] [--dependents] [--manifest] [--name-only] [--virtuals] [--json] ...
|
|
||||||
23. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
|
|
||||||
24. yarn link [-A,--all] [-p,--private] [-r,--relative] <destination>
|
|
||||||
25. yarn unlink [-A,--all] ...
|
|
||||||
26. yarn node ...
|
|
||||||
27. yarn plugin import from sources [--path #0] [--repository #0] [--branch #0] [--no-minify] [-f,--force] <name>
|
|
||||||
28. yarn plugin import <name>
|
|
||||||
29. yarn plugin remove <name>
|
|
||||||
30. yarn plugin list [--json]
|
|
||||||
31. yarn plugin runtime [--json]
|
|
||||||
32. yarn rebuild ...
|
|
||||||
33. yarn remove [-A,--all] [--mode #0] ...
|
|
||||||
34. yarn run
|
|
||||||
35. yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...
|
|
||||||
36. yarn why [-R,--recursive] [--json] [--peers] <package>
|
|
||||||
37. yarn workspace <workspaceName> <commandName> ...
|
|
||||||
38. yarn create [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
39. yarn dlx [-p,--package #0] [-q,--quiet] <command> ...
|
|
||||||
40. yarn init [-p,--private] [-w,--workspace] [-i,--install]
|
|
||||||
41. yarn npm audit [-A,--all] [-R,--recursive] [--environment #0] [--json] [--severity #0] [--exclude #0] [--ignore #0]
|
|
||||||
42. yarn npm info [-f,--fields #0] [--json] ...
|
|
||||||
43. yarn npm login [-s,--scope #0] [--publish] [--always-auth]
|
|
||||||
44. yarn npm logout [-s,--scope #0] [--publish] [-A,--all]
|
|
||||||
45. yarn npm publish [--access #0] [--tag #0] [--tolerate-republish] [--otp #0]
|
|
||||||
46. yarn npm tag add <package> <tag>
|
|
||||||
47. yarn npm tag list [--json] [package]
|
|
||||||
48. yarn npm tag remove <package> <tag>
|
|
||||||
49. yarn npm whoami [-s,--scope #0] [--publish]
|
|
||||||
50. yarn pack [--install-if-needed] [-n,--dry-run] [--json] [-o,--out #0]
|
|
||||||
51. yarn patch-commit [-s,--save] <patchFolder>
|
|
||||||
52. yarn patch [--json] <package>
|
|
||||||
53. yarn unplug [-A,--all] [-R,--recursive] [--json] ...
|
|
||||||
|
|
||||||
While running --silent version:current
|
|
||||||
# http://bash3boilerplate.sh/#authors
|
# http://bash3boilerplate.sh/#authors
|
||||||
#
|
#
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user