start with the craft command
This commit is contained in:
19
dsp_calc.py
19
dsp_calc.py
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user