Skip to content

Manchester| 26-SDC-Jun | Fithi Teklom | Sprint 3 | Implement-shell-tools - #613

Open
Fithi-Teklom wants to merge 5 commits into
CodeYourFuture:mainfrom
Fithi-Teklom:feature/implement-shell-tools
Open

Manchester| 26-SDC-Jun | Fithi Teklom | Sprint 3 | Implement-shell-tools#613
Fithi-Teklom wants to merge 5 commits into
CodeYourFuture:mainfrom
Fithi-Teklom:feature/implement-shell-tools

Conversation

@Fithi-Teklom

@Fithi-Teklom Fithi-Teklom commented Jul 27, 2026

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Implement shell tools using js program that matches the listed commands.

Task ID: CYF-1150

@Fithi-Teklom Fithi-Teklom added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 28, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Aug 4, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start but there is quite a bit of work still to do.

You've built your own argument handling system. Is your way of handling options/arguments always going to be the best? Is there a better way of doing this?

}

if (mode === "onePerLine") {
items.forEach(item => console.log(item));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to use a complete anonymous function here?

total.words += stats.words;
total.bytes += stats.bytes;

printResult(stats, file);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When printing multiple files, is the output neatly formatted? Could it be improved?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants