Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
fix param
Browse files Browse the repository at this point in the history
  • Loading branch information
martriay committed Sep 24, 2022
1 parent e4de118 commit c1105dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nile/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ def deploy(artifact, arguments, network, alias):
@click.option("--alias")
@click.option("--directory")
def declare(
signer, contract_name, network, max_fee, alias=None, contracts_directory=None
signer, contract_name, network, max_fee, alias=None, directory=None
):
"""Declare StarkNet smart contract."""
account = Account(signer, network)
account.declare(
contract_name,
alias=alias,
max_fee=max_fee,
contracts_directory=contracts_directory,
contracts_directory=directory,
)


Expand Down

0 comments on commit c1105dd

Please sign in to comment.