Skip to content

Reduce script weight #31

@lx78WyY0J5

Description

@lx78WyY0J5

Reduce script weight by creating function

getter() {
  echo "Getting $1" && yay -S --noconfirm --needed "$1"
}

getter "thing"
getter "another-thing"

Make script shorter

Make a lookup for each parameter in full mode --ABC than can be shorten with -a

DRY

Search redundent lines & suppress

finish

  • Clean logs & tests
  • Make logging nicer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions