Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Contributing

Jorge Bucaran edited this page Feb 15, 2021 · 21 revisions

Contributing

Copied and adapted from Tide's Contributing guide.

Code Conventions

Style Guide

  • if > and or or
  • test > [...]
  • printf > echo
  • Long forms of flags > short forms
    • Note that MacOS utils often do not support long flags, in which case one should use the short option
  • Piping > command substitution

Naming Conventions

All variables and functions should be named in snake_case. For variables and functions exposed to the user but not meant for the user to interact with, prepend an underscore in front of the name.

Testing

Dependencies

Run tests like so from the repository root

fishtape tests/*/*

Feature development

When developing new features or changing existing features, make sure to update the readme and add tests.

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /