Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Running "help" inside truffle develop run incorrectly #2041

Open
eggplantzzz opened this issue May 21, 2019 · 6 comments
Open

Running "help" inside truffle develop run incorrectly #2041

eggplantzzz opened this issue May 21, 2019 · 6 comments
Assignees

Comments

@eggplantzzz
Copy link
Contributor

When using the Truffle development console, if you run help, it will output the help for the help command and not the general help that you would get from running truffle help at the command line.

@CruzMolina CruzMolina self-assigned this Jul 31, 2019
@fainashalts
Copy link
Contributor

@CruzMolina this is assigned to you, we're doing issue maintenance so I just wanted to see if it went anywhere!

@CruzMolina CruzMolina removed their assignment Aug 5, 2020
@CruzMolina
Copy link
Contributor

Woops. Completely forgot about this! Still open for anyone to take!

@eggplantzzz
Copy link
Contributor Author

actually this now seems to be broken...whoops
Screen Shot 2022-04-22 at 1 28 02 PM

@cds-amal
Copy link
Member

v5.5.11 displays help and exits the develop-console!

+ truffle@5.5.11
added 1245 packages from 897 contributors in 105.796s

$ truffle develop
Truffle Develop started at http://127.0.0.1:9545/

<...SNIP ACCOUNT DETAILS>

truffle(develop)> help
truffle [command]

Commands:
  truffle build      Execute build pipeline (if configuration present)
  truffle compile    Compile contract source files
  truffle config     Set user-level configuration options
  truffle create     Helper to create new contracts, migrations and tests
  truffle dashboard  Start Truffle Dashboard to sign development transactions
                     using browser wallet
  truffle db         Database interface commands
  truffle debug      Interactively debug any transaction on the blockchain
  truffle deploy     (alias for migrate)
  truffle exec       Execute a JS module within this Truffle environment
  truffle help       List all commands or provide information about a specific
                     command
  truffle install    Install a package from the Ethereum Package Registry
  truffle migrate    Run migrations to deploy contracts
  truffle networks   Show addresses for deployed contracts on each network
  truffle obtain     Fetch and cache a specified compiler
  truffle opcode     Print the compiled opcodes for a given contract
  truffle preserve   Save data to decentralized storage platforms like IPFS and
                     Filecoin
  truffle publish    Publish a package to the Ethereum Package Registry
  truffle run        Run a third-party command
  truffle test       Run JavaScript and Solidity tests
  truffle version    Show version number and exit
  truffle watch      Watch filesystem for changes and rebuild the project
                     automatically

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
$  

@eggplantzzz
Copy link
Contributor Author

Oh, that looks mostly correct other than the exiting of the console.

@gnidan
Copy link
Contributor

gnidan commented Feb 11, 2023

The fix for this went out in Truffle v5.7.6 and I noticed that this isn't working right (truffle is getting listed as consoleChild.js). Holding off on closing this until we can investigate.
Screen Shot 2023-02-10 at 7 32 15 PM

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

No branches or pull requests

5 participants