leftpad.cli — Left Pad Command Line Interface

pyleftpad provide CLI called leftpad which one can use on your shell.

$ pip install pyleftpad
$ leftpad -n 10 foo
      foo
$ leftpad -n 3 -f 0 7
007
leftpad.cli.arg_parser()

Create argument parser using argparse.ArgumentParser.

leftpad.cli.main()

Main function to be executed by CLI.