Commit 3f0677b8 authored by Jgiannelos's avatar Jgiannelos
Browse files

Use entrypoints to define the CLI util

parent 5c1da674
......@@ -13,5 +13,8 @@ setup(
package_dir={"": "src"},
"console_scripts": ["maps-simplified-tilelist=tileset.cli:main"],
......@@ -3,7 +3,7 @@ import argparse
from tileset import TileSet
if __name__ == "__main__":
def main():
parser = argparse.ArgumentParser(
description="Given a tile list as input, generate a distinct "
"list of map tiles consisted of all the parent and children tiles "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment