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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #52 : Added Help Command to CLI #60
Conversation
Thanks @ish-u! I'll review it soon! |
src/cli.ts
Outdated
|
||
const helpEvent = this.keyListener.bindEvent({ | ||
keyName: ['h'], | ||
handler: function (keyName) { | ||
console.log(` | ||
Start => Earth(0, 0) | ||
Goal => Moon(0, 250) | ||
|
||
Once Launched, the Ship moves Forward | ||
|
||
W -> Increase Forward Speed | ||
S -> Decrease Forward Speed | ||
A -> Move Left | ||
D -> Move Right | ||
Max Speed - 5 speedunit | ||
Min Speed - 1 speedunit (after leaving (0, 0)) | ||
|
||
Press H -> Show the Ship Reference Manual |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok i will do that today
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added the instruction to access Help Screen.
* Create .eslintignore * dist folder added to eslintignore * added code coverage and ci config * fix lint issues * remove unnecessary import * fix lint issues * fix rocket on init * Our rocket is back in your initialization * revert dist files * feat: add help command Co-authored-by: Mayank Choudhary <7mayankchoudhary7@gmail.com> Co-authored-by: Guilherme Orcezi <guilhermeorcezi@gmail.com> Co-authored-by: Lucas <lucas.pimenta94@outlook.com>
* Create .eslintignore * dist folder added to eslintignore * added code coverage and ci config * fix lint issues * remove unnecessary import * fix lint issues * fix rocket on init * Our rocket is back in your initialization * revert dist files * feat: add help command * fix further conflicts Co-authored-by: Mayank Choudhary <7mayankchoudhary7@gmail.com> Co-authored-by: Guilherme Orcezi <guilhermeorcezi@gmail.com> Co-authored-by: Lucas <lucas.pimenta94@outlook.com>
There were some merge conflicts where I had to help @ish-u, we should mention in |
Thanks for your suggestion, I'll add this information in |
No problem man, feel free to take another challenge! Again, thanks for your contribuition! 馃 馃 |
CHANGELOG 馃摑
LABELS
Fixes Add help command to the CLI聽#52
Travis CI