Commit bb8f1b09 authored by Simeon Doetsch's avatar Simeon Doetsch

Added entrypoint for Pluto_ini formatter

parent 04ad18f8
import argparse
def format_ini() -> None:
from .io import Pluto_ini
parser = argparse.ArgumentParser(description="Fix indentation in pluto.ini")
parser.add_argument('filename')
args = parser.parse_args()
Pluto_ini(args.filename).write()
......@@ -8,5 +8,10 @@ setup(
install_requires=[
'numpy',
'matplotlib'
]
],
entry_points={
'console_scripts': [
'pluto-format-ini = plutoplot.scripts:format_ini'
]
}
)
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