title: How do I run Hardhat with the --constructor-args parameter?
body: <p>I'm trying to run a script with Hardhat to deploy a contract which has constructor arguments.  When I run <code>npx hardhat run scripts\deploy.js --network rinkeby</code> I get the error:</p>
  <p><code>Error: missing argument: in Contract constructor (count=0, expectedCount=7, code=MISSING_ARGUMENT, version=contracts/5.5.0)</code></p>
  <p>I've tried to use the --constructor-args parameter but get another error:</p>
  <p><code>Error HH305: Unrecognized param --constructor-args</code></p>
  <p>All the references I've found to constructor-args suggests that it's only available as part of <em>hardhat verify</em>, not <em>hardhat run</em> but if that's the case how can I pass arguments when deploying?</p>
  <p><strong>Updated to include deploy script</strong></p>
  <pre><code>// deploy.js
  
  async function main() {
      const [deployer] = await ethers.getSigners();
  
      console.log('%c \n Deploying contracts with the account:', 'color:', deployer.address );
  
      console.log('%c \n Account balance:', 'color:', (await deployer.getBalance()).toString() );
  
      const Token = await ethers.getContractFactory(&quot;Test01&quot;);
      const token = await Token.deploy();
  
      console.log('%c \n Token address:', 'color:', token.address );
      
      
  }
  
  main()
      .then( () =&gt; process.exit(0) )
      .catch( (error) =&gt; {
          console.error(error);
          process.exit(1);
      });
      ```
  </code></pre>