Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fordnox committed Dec 7, 2023
1 parent 3898347 commit 6a60432
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wordplex"
version = "0.1.0"
version = "0.2.0"
description = "WordPlex"
authors = ["fordnox <fordnox@gmail.com>"]
license = "MIT"
Expand Down
1 change: 0 additions & 1 deletion tests/wordplex_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ def test_pattern():
def test_set_format():
wp.set_format("CVV")
assert wp.get_format() == "CVV"

2 changes: 1 addition & 1 deletion wordplex/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .wordplex import WordPlex
from .wordplex import WordPlex
5 changes: 4 additions & 1 deletion wordplex/__main__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import argparse

from .wordplex import WordPlex

parser = argparse.ArgumentParser()

parser.add_argument("-s", "--suffix", dest="suffix", default="", help="Suffix")
parser.add_argument("-p", "--prefix", dest="prefix", default="", help="Prefix")
parser.add_argument("-f", "--format", dest="format", default=None, help="Format to use")
parser.add_argument("-w", "--word", dest="word", default=None, help="Generate similar to provided word")
parser.add_argument(
"-w", "--word", dest="word", default=None, help="Generate similar to provided word"
)

config = parser.parse_args()

Expand Down

0 comments on commit 6a60432

Please sign in to comment.