TrueBitFoundation / truebit-os

[DEPRECATED] Interactive client
Apache License 2.0
82 stars 26 forks source link

Change task command in CLI to submit #64

Closed hswick closed 6 years ago

hswick commented 6 years ago

I've screwed this up every time I've used the CLI and people everyone will if we don't fix this mess which is my fault.

I wasn't sure what a better command for submitting a task would be than task. But because starting a task giver process uses start task this is confusing. Obviously...

I'm proposing we change task to submit.

With this change it is also tempting to get rid of the start command. But the start command has too many semantic advantages in my opinion. Specifically, that using the start command you are starting a specific type of process to run in the background. We can also add a stop command that uses the task, solve, verify categorization to make it easier to search.

hswick commented 6 years ago

task command is used more for testing, so this might not be an issue.