mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 02:01:01 +01:00
Update README.md
This commit is contained in:
parent
8d60bae710
commit
0594220187
@ -106,7 +106,7 @@ Script Conventions
|
||||
Each PowerShell script should follow the 7 golden rules:
|
||||
|
||||
* **Rule #1:** the filename should be named `<verb>-<object>.ps1`
|
||||
* **Rule #2:** the first line reads: #!/snap/bin/powershell (to support PowerShell on Linux)
|
||||
* **Rule #2:** the first line reads `#!/snap/bin/powershell` to support PowerShell on Linux
|
||||
* **Rule #3:** the script has execute file permissions (chmod a+rx <file>) to support PowerShell on Linux
|
||||
* **Rule #4:** provide a metadata header with syntax, description, author, source, and license
|
||||
* **Rule #5:** prefer command-line options, else ask the user
|
||||
|
Loading…
Reference in New Issue
Block a user