Skip to content

Commit

Permalink
Fixed generate and subcommands. (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrouR authored Feb 16, 2021
1 parent d894e06 commit 1ca086c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 78 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/console/GenerateCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
import picocli.CommandLine.Command;

import org.web3j.console.project.UnitTestCommand;
import org.web3j.console.wrapper.SolidityFunctionWrapperGeneratorCommand;
import org.web3j.console.wrapper.TruffleFunctionWrapperGeneratorCommand;
import org.web3j.console.wrapper.subcommand.SolidityGenerateCommand;
import org.web3j.console.wrapper.subcommand.TruffleGenerateCommand;

@Command(
name = "generate",
subcommands = {
CommandLine.HelpCommand.class,
SolidityFunctionWrapperGeneratorCommand.class,
TruffleFunctionWrapperGeneratorCommand.class,
SolidityGenerateCommand.class,
TruffleGenerateCommand.class,
UnitTestCommand.class,
},
showDefaultValues = true,
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static picocli.CommandLine.Help.Visibility.ALWAYS;

@Command(
name = "generate",
name = "solidity",
description = "Generate Java smart contract wrappers from Solidity",
showDefaultValues = true,
abbreviateSynopsis = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import static picocli.CommandLine.Help.Visibility.ALWAYS;

@Command(
name = "generate",
name = "truffle",
description = "Generate Java smart contract wrappers from truffle json",
showDefaultValues = true,
abbreviateSynopsis = true,
Expand Down

0 comments on commit 1ca086c

Please sign in to comment.