Skip to content

follow bashstyle #1

@briceburg

Description

@briceburg

bashstyle provides absolutely agreeable guidelines and we should rewrite to conform:
https://github.com/progrium/bashstyle

possibly explore the encasing in "main" and declaring our global fns from within

  • Always have a main function for runnable scripts, called with main or main "$@"
  • If script is also usable as library, call it using [[ "$0" == "$BASH_SOURCE" ]] && main "$@"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions