Add: enable command line command#3040
Conversation
|
This is starting to turn into |
Does it hurt? |
* master: Fixed asp.net core project (neo-project#3067) Updated BLS12_381 (neo-project#3074) avoid nonsense exception messages. (neo-project#3063) Removed `MyGet` (neo-project#3071) Updated unit-test (neo-project#3073) add hash verification for OnImport (neo-project#3070) Make public ReadUserInput (neo-project#3068) Removed asp.net core (neo-project#3065) Enforce Line Endings in `.editorconfig` (neo-project#3060) Remove some warnings (neo-project#3057) Fixed workflow timeout-minutes (neo-project#3048) Fix: specify the error message (neo-project#3030) Removes `WebSocket`s from the network layer (neo-project#3039) set timeout for tests (neo-project#3046) Fix: Editconfig (neo-project#3023) Set project as nullable (neo-project#3042) Fix: fix equal (neo-project#3028) # Conflicts: # src/Neo.CLI/CLI/MainService.cs # src/Neo.CLI/Settings.cs # src/Neo/ProtocolSettings.cs
shargon
left a comment
There was a problem hiding this comment.
Why src/Neo.CLI/CLI/CommandLineOption.cs warnings if it was not changed and we already merge some commits without this problem
shargon
left a comment
There was a problem hiding this comment.
Any way to use /help with this package?
|
@Jim8y Conflicting files :S |
* master: Adding NNS to `neo-cli` (neo-project#3032) # Conflicts: # src/Neo.CLI/Settings.cs
This reverts commit 7d54c5d.
|
You don't want to move the config files? |
vncoelho
left a comment
There was a problem hiding this comment.
/workspaces/neo/src/Neo.CLI/Settings.cs(65,16): warning CS8618: Non-nullable property 'Contracts' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
/workspaces/neo/src/Neo.CLI/CLI/MainService.CommandLine.cs(79,21): error CS0200: Property or indexer 'StorageSettings.Engine' cannot be assigned to -- it is read only [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
/workspaces/neo/src/Neo.CLI/CLI/MainService.CommandLine.cs(80,21): error CS0200: Property or indexer 'StorageSettings.Path' cannot be assigned to -- it is read only [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
Build FAILED.
/workspaces/neo/src/Neo.CLI/Settings.cs(65,16): warning CS8618: Non-nullable property 'Contracts' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
/workspaces/neo/src/Neo.CLI/CLI/MainService.CommandLine.cs(79,21): error CS0200: Property or indexer 'StorageSettings.Engine' cannot be assigned to -- it is read only [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
/workspaces/neo/src/Neo.CLI/CLI/MainService.CommandLine.cs(80,21): error CS0200: Property or indexer 'StorageSettings.Path' cannot be assigned to -- it is read only [/workspaces/neo/src/Neo.CLI/Neo.CLI.csproj::TargetFramework=net7.0]
1 Warning(s)
2 Error(s)I think that I destroyed something when merged and conflicts resolved
|
I dont know, my local test passes. |
Co-authored-by: Shargon <shargon@gmail.com>
|
You have changed the interface. In doing so, i have found a bug. As you can see from the images below. That the Run
|
| for (int i = 0; i < args.Length; i++) | ||
| switch (args[i]) | ||
| { | ||
| case "/noverify": |
There was a problem hiding this comment.
This needs to be added back somehow.
We can add in the readme the backwards incompatible changes, but we can't preserve all the previous version if we try to improve the new one, when it's released it could come with this information. With this change, the cli is much better, and people only need to change /verify to --xxx |
that is fine. Can you fix the bug with the |
We found a bug, we fix the bug, we can open a new pr to fix it, please open a issue, remember that this version is not released yet. |




This pr add
commandlinecommands to neo-cli:commands: