jetmore / jetmore/swaks

Automate verification of files provided as args

Open
#65 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
1.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

If we know a file must be an argument, error during option processing if it's not a readable file. We have this with OP_FROM_FILE for files that we open and process ourselves, but there are other files we don't open during argument processing (for instance --tls-key/--tls-cert/--tls-chain)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the option-processing path and compare the existing OP_FROM_FILE handling with arguments such as --tls-key, --tls-cert, and --tls-chain. Verify which arguments represent files that are not opened during processing; done means unreadable required file arguments are rejected during option processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.