import argparse

from fib_prusty.fib_calcs.fib_number import recurring_fibonacci_number


def fib_numb() -> None:
    parser = argparse.ArgumentParser(
        description='Calculate Fibonacci numbers'
    )
    parser.add_argument('--number', action='store',
                        type=int,
                        required=True,
                        help="Fibonacci number to be calculated")
    args = parser.parse_args()
    print(f"Your Fibonacci number is: " \
          f"{recurring_fibonacci_number(number=args.number)}")