Skip to content

Add Base64 encode and decode commands - #59

Merged
codepiyusss merged 6 commits into
codepiyusss:mainfrom
Shiv-70:add-base64-commands
Oct 23, 2026
Merged

codepiyusss merged 6 commits into
codepiyusss:mainfrom
Shiv-70:add-base64-commands

Conversation

@Shiv-70

@Shiv-70 Shiv-70 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds Base64 text encoding and decoding functionality to the CLI.

  • Adds base64 encode and base64 decode commands.
  • Supports UTF-8 text, including Unicode characters.
  • Handles invalid Base64 input and non-UTF-8 decoded data with a clear error.
  • Adds unit tests for encoding, decoding, Unicode, empty input, invalid input, and CLI behavior.

Related issue

Closes #24

Checklist

  • I commented on the issue first and was assigned
  • I removed the xfail marker (if fixing a bug)
  • I added or updated tests
  • pytest passes locally
  • This PR only addresses one issue

@codepiyusss
codepiyusss merged commit c9bda95 into codepiyusss:main Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: add a base64 encode/decode command

2 participants