start with the craft command

This commit is contained in:
Schemen
2021-01-27 16:12:19 +01:00
parent 881fd2cd22
commit 9df079060c

View File

@@ -28,6 +28,25 @@ def verify():
else:
click.echo("Your data seems to be good.")
@cli.command()
@click.argument('item')
@click.option('-p', '--ppm', default=1, help='Parts per Minute. How many parts you need per minute.')
@click.option('-a','--amount', default=1, help='How many you want to craft.')
@click.option('--assembler',
type=click.Choice(['mk1', 'mk2'],case_sensitive=False), help='Which assembler do you use?',default="mk2")
def craft(item):
"""
Shows what you need to craft an item.
Pass the item down lowercase, space replaced with a "_" underscore and MKII and mk3.
Example:
$dsp_calc craft sorter_mk3
"""
pass
@cli.command()
@click.argument('item')
def tree(item):