Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add command line option to specify the truffle config file to be used #50

Closed
nphsu opened this issue Mar 24, 2020 · 1 comment
Closed

Comments

@nphsu
Copy link

nphsu commented Mar 24, 2020

This is an enhancement request to add a command-line option to specify the truffle config file to be used on the compilation.

I would like to add like the below in the main function.

  let rootIndex = args.indexOf("--root");

[Example]

truffle-flattener contracts/XXX.sol --output build/contracts/FlattenerXXX.sol --dir ./subdir
/rootdir
    |--subdir
    |       |--/contracts
    |       |--/build
    |       |--truffle-config.js
    |--/nodemodules
    |--package.json

[Related]
trufflesuite/truffle#1879

@alcuadrado
Copy link
Member

Closing to clean up the repository. If this problem persists, please open a new issue with a clear explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants